Class NVFramebufferMultisampleCoverage



  • public class NVFramebufferMultisampleCoverage
    extends java.lang.Object
    Native bindings to the NV_framebuffer_multisample_coverage extension.

    This extension extends the EXT_framebuffer_multisample specification by providing a new function, RenderBufferStorageMultisampleCoverageNV, that distinguishes between color samples and coverage samples.

    EXT_framebuffer_multisample introduced the function RenderbufferStorageMultisampleEXT as a method of defining the storage parameters for a multisample render buffer. This function takes a samples parameter. Using rules provided by the specification, the parameter is resolved to an actual number of samples that is supported by the underlying hardware. EXT_framebuffer_multisample does not specify whether samples refers to coverage samples or color samples.

    This extension adds the function RenderbufferStorageMultisamplCoverageNV, which takes a coverageSamples parameter as well as a colorSamples parameter. These two parameters give developers more fine grained control over the quality of multisampled images.

    Requires EXT_framebuffer_object, EXT_framebuffer_blit and EXT_framebuffer_multisample.

    • Field Detail

      • GL_RENDERBUFFER_COVERAGE_SAMPLES_NV

        public static final int GL_RENDERBUFFER_COVERAGE_SAMPLES_NV
        Accepted by the pname parameter of GetRenderbufferParameterivEXT.
        See Also:
        Constant Field Values
      • GL_RENDERBUFFER_COLOR_SAMPLES_NV

        public static final int GL_RENDERBUFFER_COLOR_SAMPLES_NV
        Accepted by the pname parameter of GetRenderbufferParameterivEXT.
        See Also:
        Constant Field Values
      • GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV

        public static final int GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV
        Accepted by the pname parameter of GetIntegerv.
        See Also:
        Constant Field Values
      • GL_MULTISAMPLE_COVERAGE_MODES_NV

        public static final int GL_MULTISAMPLE_COVERAGE_MODES_NV
        Accepted by the pname parameter of GetIntegerv.
        See Also:
        Constant Field Values
    • Method Detail

      • glRenderbufferStorageMultisampleCoverageNV

        public static void glRenderbufferStorageMultisampleCoverageNV(int target,
                                                                      int coverageSamples,
                                                                      int colorSamples,
                                                                      int internalformat,
                                                                      int width,
                                                                      int height)