Class NVFragmentCoverageToColor

java.lang.Object
org.lwjgl.vulkan.NVFragmentCoverageToColor

public final class NVFragmentCoverageToColor extends Object
This extension allows the fragment coverage value, represented as an integer bitmask, to be substituted for a color output being written to a single-component color attachment with integer components (e.g. FORMAT_R8_UINT). The functionality provided by this extension is different from simply writing the SampleMask fragment shader output, in that the coverage value written to the framebuffer is taken after stencil test and depth test, as well as after fragment operations such as alpha-to-coverage.

This functionality may be useful for deferred rendering algorithms, where the second pass needs to know which samples belong to which original fragments.

Name String
VK_NV_fragment_coverage_to_color
Extension Type
Device extension
Registered Extension Number
150
Revision
1
Contact
Other Extension Metadata
Last Modified Date
2017-05-21
Contributors
  • Jeff Bolz, NVIDIA
  • Field Details

    • VK_NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION

      public static final int VK_NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION
      The extension specification version.
      See Also:
    • VK_NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME

      public static final String VK_NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME
      The extension name.
      See Also:
    • VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV

      public static final int VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV
      Extends VkStructureType.
      See Also: