Class NVConservativeRasterDilate

java.lang.Object
org.lwjgl.opengl.NVConservativeRasterDilate

public class NVConservativeRasterDilate extends Object
Native bindings to the NV_conservative_raster_dilate extension.

This extension extends the conservative rasterization funtionality provided by NV_conservative_raster. It provides a new control to generate an "over-conservative" rasterization by dilating primitives prior to rasterization.

When using conservative raster to bin geometry, this extension provides a programmable overlap region between adjacent primitives. Regular rasterization bins triangles with a shared edge uniquely into pixels. Conservative raster has a one-pixel overlap along the shared edge. Using a half-pixel raster dilation, this overlap region increases to two pixels.

Requires NV_conservative_raster.

  • Field Details

    • GL_CONSERVATIVE_RASTER_DILATE_NV

      public static final int GL_CONSERVATIVE_RASTER_DILATE_NV
      Accepted by the pname parameter of ConservativeRasterParameterfNV, GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV

      public static final int GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV
      Accepted by the pname parameter of ConservativeRasterParameterfNV, GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
    • GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV

      public static final int GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV
      Accepted by the pname parameter of ConservativeRasterParameterfNV, GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also:
  • Method Details

    • glConservativeRasterParameterfNV

      public static void glConservativeRasterParameterfNV(int pname, float value)