Class NVFramebufferMultisampleCoverage

java.lang.Object
org.lwjgl.opengl.NVFramebufferMultisampleCoverage

public class NVFramebufferMultisampleCoverage extends 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 samples 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 Details

    • GL_RENDERBUFFER_COVERAGE_SAMPLES_NV

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

      public static final int GL_RENDERBUFFER_COLOR_SAMPLES_NV
      Accepted by the pname parameter of GetRenderbufferParameterivEXT.
      See Also:
    • 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:
    • GL_MULTISAMPLE_COVERAGE_MODES_NV

      public static final int GL_MULTISAMPLE_COVERAGE_MODES_NV
      Accepted by the pname parameter of GetIntegerv.
      See Also:
  • Method Details

    • glRenderbufferStorageMultisampleCoverageNV

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