Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class NVFragmentCoverageToColor

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the NV_fragment_coverage_to_color extension.

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.

This functionality may be useful for deferred rendering algorithms, where the second pass needs to know which samples belong to which original fragments.

Field Summary

Modifier and TypeField and Description
public static final int
GL_FRAGMENT_COVERAGE_COLOR_NV

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.

public static final int
GL_FRAGMENT_COVERAGE_TO_COLOR_NV

Accepted by the cap parameter of Enable, Disable, IsEnabled.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_FRAGMENT_COVERAGE_COLOR_NVback to summary
public static final int GL_FRAGMENT_COVERAGE_COLOR_NV

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.

GL_FRAGMENT_COVERAGE_TO_COLOR_NVback to summary
public static final int GL_FRAGMENT_COVERAGE_TO_COLOR_NV

Accepted by the cap parameter of Enable, Disable, IsEnabled.

Constructor Detail

NVFragmentCoverageToColorback to summary
protected NVFragmentCoverageToColor()

Method Detail

glFragmentCoverageColorNVback to summary
public static native void glFragmentCoverageColorNV(int color)