Class OESShaderMultisampleInterpolation
- java.lang.Object
-
- org.lwjgl.opengles.OESShaderMultisampleInterpolation
-
public final class OESShaderMultisampleInterpolation extends java.lang.Object
Native bindings to the OES_shader_multisample_interpolation extension.In standard multisample rendering, an implementation is allowed to assign the same sets of fragment shader input values to each sample. This can cause aliasing where the fragment shader input values are used to generate a result that doesn't antialias itself, for example with alpha-tested transparency.
This extension adds the "sample" qualifier that can be used on vertex outputs and fragment inputs. When the "sample" qualifier is used, the fragment shader is invoked separately for each covered sample and all such qualified interpolants must be evaluated at the corresponding sample point.
This extension provides built-in fragment shader functions to provide fine-grained control over interpolation, including interpolating a fragment shader input at a programmable offset relative to the pixel center, a specific sample number, or at the centroid.
Requires
GLES 3.0
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES
GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OESAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
-
-
-
Field Detail
-
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES, GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES, GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
-
-