Class NVFramebufferMixedSamples



  • public class NVFramebufferMixedSamples
    extends java.lang.Object
    Native bindings to the NV_framebuffer_mixed_samples extension.

    This extension allows multisample rendering with a raster and depth/stencil sample count that is larger than the color sample count. Rasterization and the results of the depth and stencil tests together determine the portion of a pixel that is "covered". It can be useful to evaluate coverage at a higher frequency than color samples are stored. This coverage is then "reduced" to a collection of covered color samples, each having an opacity value corresponding to the fraction of the color sample covered. The opacity can optionally be blended into individual color samples.

    • Field Detail

      • GL_RASTER_MULTISAMPLE_EXT

        public static final int GL_RASTER_MULTISAMPLE_EXT
        Accepted by the cap parameter of Enable, Disable, IsEnabled.
        See Also:
        Constant Field Values
      • GL_COVERAGE_MODULATION_TABLE_NV

        public static final int GL_COVERAGE_MODULATION_TABLE_NV
        Accepted by the cap parameter of Enable, Disable, IsEnabled.
        See Also:
        Constant Field Values
      • GL_RASTER_SAMPLES_EXT

        public static final int GL_RASTER_SAMPLES_EXT
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_MAX_RASTER_SAMPLES_EXT

        public static final int GL_MAX_RASTER_SAMPLES_EXT
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT

        public static final int GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT

        public static final int GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_EFFECTIVE_RASTER_SAMPLES_EXT

        public static final int GL_EFFECTIVE_RASTER_SAMPLES_EXT
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_COLOR_SAMPLES_NV

        public static final int GL_COLOR_SAMPLES_NV
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_DEPTH_SAMPLES_NV

        public static final int GL_DEPTH_SAMPLES_NV
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_STENCIL_SAMPLES_NV

        public static final int GL_STENCIL_SAMPLES_NV
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV

        public static final int GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV

        public static final int GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_COVERAGE_MODULATION_NV

        public static final int GL_COVERAGE_MODULATION_NV
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_COVERAGE_MODULATION_TABLE_SIZE_NV

        public static final int GL_COVERAGE_MODULATION_TABLE_SIZE_NV
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
    • Method Detail

      • glRasterSamplesEXT

        public static void glRasterSamplesEXT(int samples,
                                              boolean fixedsamplelocations)
      • glCoverageModulationTableNV

        public static void glCoverageModulationTableNV(int n,
                                                       java.nio.FloatBuffer v)
        Parameters:
        n - The size of the coverage modulation table. Must be equal to the value of COVERAGE_MODULATION_TABLE_SIZE_NV.
        v -
      • glGetCoverageModulationTableNV

        public static void glGetCoverageModulationTableNV(int bufsize,
                                                          java.nio.FloatBuffer v)
      • glCoverageModulationNV

        public static void glCoverageModulationNV(int components)
      • glCoverageModulationTableNV

        public static void glCoverageModulationTableNV(int n,
                                                       float[] v)
        Array version of: CoverageModulationTableNV
      • glGetCoverageModulationTableNV

        public static void glGetCoverageModulationTableNV(int bufsize,
                                                          float[] v)