Top Description Fields Constructors Methods
org.lwjgl.vulkan

public final Class NVFramebufferMixedSamples

extends Object
Class Inheritance

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.

Rendering with fewer color samples than depth/stencil samples greatly reduces the amount of memory and bandwidth consumed by the color buffer. However, converting the coverage values into opacity introduces artifacts where triangles share edges and may not be suitable for normal triangle mesh rendering.

One expected use case for this functionality is Stencil-then-Cover path rendering (similar to the OpenGL GL_NV_path_rendering extension). The stencil step determines the coverage (in the stencil buffer) for an entire path at the higher sample frequency, and then the cover step draws the path into the lower frequency color buffer using the coverage information to antialias path edges. With this two-step process, internal edges are fully covered when antialiasing is applied and there is no corruption on these edges.

The key features of this extension are:

VK_NV_framebuffer_mixed_samples
Name String
VK_NV_framebuffer_mixed_samples
Extension Type
Device extension
Registered Extension Number
153
Revision
1
Contact
Other Extension Metadata
Last Modified Date
2017-06-04
Contributors
  • Jeff Bolz, NVIDIA

Field Summary

Modifier and TypeField and Description
public static final int
VK_COVERAGE_MODULATION_MODE_ALPHA_NV

VkCoverageModulationModeNV - Specify the coverage modulation mode Description

public static final int
VK_COVERAGE_MODULATION_MODE_NONE_NV

VkCoverageModulationModeNV - Specify the coverage modulation mode Description

public static final int
VK_COVERAGE_MODULATION_MODE_RGB_NV

VkCoverageModulationModeNV - Specify the coverage modulation mode Description

public static final int
VK_COVERAGE_MODULATION_MODE_RGBA_NV

VkCoverageModulationModeNV - Specify the coverage modulation mode Description

public static final String
public static final int
VK_NV_FRAMEBUFFER_MIXED_SAMPLES_SPEC_VERSION

The extension specification version.

public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_COVERAGE_MODULATION_MODE_ALPHA_NVback to summary
public static final int VK_COVERAGE_MODULATION_MODE_ALPHA_NV

VkCoverageModulationModeNV - Specify the coverage modulation mode

Description
See Also

VkPipelineCoverageModulationStateCreateInfoNV, CmdSetCoverageModulationModeNV

VK_COVERAGE_MODULATION_MODE_NONE_NVback to summary
public static final int VK_COVERAGE_MODULATION_MODE_NONE_NV

VkCoverageModulationModeNV - Specify the coverage modulation mode

Description
See Also

VkPipelineCoverageModulationStateCreateInfoNV, CmdSetCoverageModulationModeNV

VK_COVERAGE_MODULATION_MODE_RGB_NVback to summary
public static final int VK_COVERAGE_MODULATION_MODE_RGB_NV

VkCoverageModulationModeNV - Specify the coverage modulation mode

Description
See Also

VkPipelineCoverageModulationStateCreateInfoNV, CmdSetCoverageModulationModeNV

VK_COVERAGE_MODULATION_MODE_RGBA_NVback to summary
public static final int VK_COVERAGE_MODULATION_MODE_RGBA_NV

VkCoverageModulationModeNV - Specify the coverage modulation mode

Description
See Also

VkPipelineCoverageModulationStateCreateInfoNV, CmdSetCoverageModulationModeNV

VK_NV_FRAMEBUFFER_MIXED_SAMPLES_EXTENSION_NAMEback to summary
public static final String VK_NV_FRAMEBUFFER_MIXED_SAMPLES_EXTENSION_NAME

The extension name.

VK_NV_FRAMEBUFFER_MIXED_SAMPLES_SPEC_VERSIONback to summary
public static final int VK_NV_FRAMEBUFFER_MIXED_SAMPLES_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NVback to summary
public static final int VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV

Extends VkStructureType.

Constructor Detail

NVFramebufferMixedSamplesback to summary
private NVFramebufferMixedSamples()