public final class OESShaderMultisampleInterpolation
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v. |
static int |
GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v. |
static int |
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v. |
public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.Copyright LWJGL. All Rights Reserved. License terms.