public class OESSampleShading
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 ability to explicitly request that an implementation use a minimum number of unique set of fragment computation inputs when multisampling a pixel. Specifying such a requirement can reduce aliasing that results from evaluating the fragment computations too few times per pixel.
This extension adds new global state that controls the minimum number of samples for which attribute data is independently interpolated. When enabled, all fragment-shading operations are executed independently on each sample.
Requires GLES 3.0.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_MIN_SAMPLE_SHADING_VALUE_OES
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, and GetFloatv. |
static int |
GL_SAMPLE_SHADING_OES
Accepted by the
cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetInteger64v. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glMinSampleShadingOES(float value) |
public static final int GL_SAMPLE_SHADING_OES
cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetInteger64v.public static final int GL_MIN_SAMPLE_SHADING_VALUE_OES
pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, and GetFloatv.Copyright LWJGL. All Rights Reserved. License terms.