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.
VK_NV_fragment_coverage_to_color| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME
The extension name. |
| public static final int | VK_NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| VK_NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME The extension name. | |
| VK_NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV Extends | |
| NVFragmentCoverageToColor | back to summary |
|---|---|
| private NVFragmentCoverageToColor() | |