Class VkPipelineViewportCoarseSampleOrderStateCreateInfoNV

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPipelineViewportCoarseSampleOrderStateCreateInfoNV extends Struct<VkPipelineViewportCoarseSampleOrderStateCreateInfoNV> implements NativeResource
Structure specifying parameters controlling sample order in coarse fragments.
Description

If this structure is not present, sampleOrderType is considered to be COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV.

If sampleOrderType is COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV, the coverage sample order used for any combination of fragment area and coverage sample count not enumerated in pCustomSampleOrders will be identical to that used for COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV.

If the pipeline was created with DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV, the contents of this structure (if present) are ignored, and the coverage sample order is instead specified by CmdSetCoarseSampleOrderNV.

Valid Usage
  • If sampleOrderType is not COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV, customSamplerOrderCount must be 0
  • The array pCustomSampleOrders must not contain two structures with matching values for both the shadingRate and sampleCount members
Valid Usage (Implicit)
See Also

VkCoarseSampleOrderCustomNV

Layout


 struct VkPipelineViewportCoarseSampleOrderStateCreateInfoNV {
     VkStructureType sType();
     void const * pNext();
     VkCoarseSampleOrderTypeNV sampleOrderType();
     uint32_t customSampleOrderCount();
     VkCoarseSampleOrderCustomNV const * pCustomSampleOrders();
 }