Class VkPipelineViewportCoarseSampleOrderStateCreateInfoNV

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkPipelineViewportCoarseSampleOrderStateCreateInfoNV
    extends Struct
    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

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • sampleOrderType – specifies the mechanism used to order coverage samples in fragments larger than one pixel.
    • customSampleOrderCount – specifies the number of custom sample orderings to use when ordering coverage samples.
    • pCustomSampleOrders – a pointer to an array of VkCoarseSampleOrderCustomNV structures, each of which specifies the coverage sample order for a single combination of fragment area and coverage sample count.

    Layout

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