This extension allows the fragment coverage value, represented as an integer bitfield, to be substituted for a color output being written to a single-component color buffer with integer components (e.g., R8UI). The capability provided by this extension is different from simply writing the gl_SampleMask fragment shader output in that the coverage value written to the framebuffer is taken after alpha test, stencil test, and depth test, as well as after the multisample fragment operations such as alpha-to-coverage.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_FRAGMENT_COVERAGE_COLOR_NV
Accepted by the |
| public static final int | GL_FRAGMENT_COVERAGE_TO_COLOR_NV
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native void | glFragmentCoverageColorNV(int
the draw buffer index that the coverage value will be written to. Must be between 0 and the value of MAX_DRAW_BUFFERS minus one, inclusive. color)
|
| GL_FRAGMENT_COVERAGE_COLOR_NV | back to summary |
|---|---|
| public static final int GL_FRAGMENT_COVERAGE_COLOR_NV Accepted by the | |
| GL_FRAGMENT_COVERAGE_TO_COLOR_NV | back to summary |
|---|---|
| public static final int GL_FRAGMENT_COVERAGE_TO_COLOR_NV Accepted by the | |
| NVFragmentCoverageToColor | back to summary |
|---|---|
| protected NVFragmentCoverageToColor() | |
| glFragmentCoverageColorNV | back to summary |
|---|---|
public static native void glFragmentCoverageColorNV(int color)
| |