Class EXTRasterMultisample
- java.lang.Object
-
- org.lwjgl.opengles.EXTRasterMultisample
-
public class EXTRasterMultisample extends java.lang.ObjectNative bindings to the EXT_raster_multisample extension.This extension allows rendering to a non-multisample color buffer while rasterizing with more than one sample. The result of rasterization (coverage) is available in the gl_SampleMaskIn[] fragment shader input, multisample rasterization is enabled for all primitives, and several per- fragment operations operate at the raster sample rate.
When using the functionality provided by this extension, depth, stencil, and depth bounds tests must be disabled, and a multisample draw framebuffer must not be used.
A fragment's "coverage", or "effective raster samples" is considered to have "N bits" (as opposed to "one bit" corresponding to the single color sample) through the fragment shader, in the sample mask output, through the multisample fragment operations and occlusion query, until the coverage is finally "reduced" to a single bit in a new "Coverage Reduction" stage that occurs before blending.
Requires
GLES 3.0.
-
-
Field Summary
Fields Modifier and Type Field and Description static intGL_EFFECTIVE_RASTER_SAMPLES_EXT
GL_MAX_RASTER_SAMPLES_EXT
GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT
GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXTAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static intGL_RASTER_MULTISAMPLE_EXTAccepted by thecapparameter of Enable, Disable, IsEnabled.static intGL_RASTER_SAMPLES_EXTAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglRasterSamplesEXT(int samples, boolean fixedsamplelocations)
-
-
-
Field Detail
-
GL_RASTER_MULTISAMPLE_EXT
public static final int GL_RASTER_MULTISAMPLE_EXT
Accepted by thecapparameter of Enable, Disable, IsEnabled.- See Also:
- Constant Field Values
-
GL_RASTER_SAMPLES_EXT
public static final int GL_RASTER_SAMPLES_EXT
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.- See Also:
- Constant Field Values
-
GL_MAX_RASTER_SAMPLES_EXT
public static final int GL_MAX_RASTER_SAMPLES_EXT
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.- See Also:
- Constant Field Values
-
GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT
public static final int GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.- See Also:
- Constant Field Values
-
GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT
public static final int GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.- See Also:
- Constant Field Values
-
GL_EFFECTIVE_RASTER_SAMPLES_EXT
public static final int GL_EFFECTIVE_RASTER_SAMPLES_EXT
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.- See Also:
- Constant Field Values
-
-