Package org.lwjgl.egl

Class NVCoverageSampleResolve


  • public final class NVCoverageSampleResolve
    extends java.lang.Object
    Native bindings to the NV_coverage_sample_resolve extension.

    NV_coverage_sample introduced a method to improve rendering quality using a separate buffer to store coverage information for pixels in the color buffers. It also provided a mechanism to disable writing to the coverage buffer when coverage sample filtering was not needed or undesirable. However, it did not provide a way to disable reading data from the coverage buffer at resolve time. In some cases performance can be improved by eliminating these memory reads. To that end, this extension exposes a surface attribute that allows applications to specify when no coverage sample resolve is desired.

    Requires EGL 1.2.

    • Field Detail

      • EGL_COVERAGE_SAMPLE_RESOLVE_NV

        public static final int EGL_COVERAGE_SAMPLE_RESOLVE_NV
        See Also:
        Constant Field Values
      • EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV

        public static final int EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV
        See Also:
        Constant Field Values
      • EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV

        public static final int EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV
        See Also:
        Constant Field Values