public interface R2DepthShaderBasicStippledParametersType extends R2DepthShaderBasicParametersValuesType
Modifier and Type | Method and Description |
---|---|
default R2Texture2DUsableType |
albedoTexture()
An albedo map which is used primarily used to determine the opacity
of the shaded surface.
|
default double |
alphaDiscardThreshold()
The threshold value that defines whether or not the surface fragment will
be discarded.
|
R2Texture2DUsableType |
stippleNoiseTexture()
The noise texture used to implement stippling.
|
default double |
stippleThreshold()
The stipple threshold value.
|
R2TextureDefaultsType |
textureDefaults() |
R2TextureDefaultsType textureDefaults()
textureDefaults
in interface R2DepthShaderBasicParametersValuesType
default R2Texture2DUsableType albedoTexture()
R2DepthShaderBasicParametersValuesType
An albedo map which is used primarily used to determine the opacity of the shaded surface.
albedoTexture
in interface R2DepthShaderBasicParametersValuesType
default double alphaDiscardThreshold()
R2DepthShaderBasicParametersValuesType
0.0
will
result in no fragments ever being discarded.alphaDiscardThreshold
in interface R2DepthShaderBasicParametersValuesType
R2Texture2DUsableType stippleNoiseTexture()
stippleThreshold()
default double stippleThreshold()
stippleNoiseTexture()
is sampled at each pixel,
and if the sampled value is less than stippleThreshold()
, the
pixel is discarded. Consequently, a stipple threshold of 0.0
never
discards pixels.Copyright © 2017 <code@io7m.com> http://io7m.com