Regular rasterization includes fragments with at least one sample covered by a polygon. Conservative rasterization includes all fragments that are at least partially covered by the polygon.
In some use cases, it is also important to know if a fragment is fully covered by a polygon, i.e. if all parts of the fragment are within the polygon.
An application may, for example, want to process fully covered fragments different from the "edge" pixels. This extension adds an option for the
fragment shader to receive this information via gl_SampleMaskIn[].
This extension affects only polygons in FILL mode and specifically does not imply any changes in processing of lines or points.
Conservative rasterization automatically disables polygon antialiasing rasterization if enabled by POLYGON_SMOOTH.
Requires OpenGL 4..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_CONSERVATIVE_RASTERIZATION_INTEL
Accepted by the |
| Access | Constructor and Description |
|---|---|
| private |
| GL_CONSERVATIVE_RASTERIZATION_INTEL | back to summary |
|---|---|
| public static final int GL_CONSERVATIVE_RASTERIZATION_INTEL Accepted by the | |
| INTELConservativeRasterization | back to summary |
|---|---|
| private INTELConservativeRasterization() | |