Class VkRenderPassSampleLocationsBeginInfoEXT

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

    public class VkRenderPassSampleLocationsBeginInfoEXT
    extends Struct
    implements NativeResource
    Structure specifying sample locations to use for the layout transition of custom sample locations compatible depth/stencil attachments.
    Valid Usage (Implicit)
    See Also

    VkAttachmentSampleLocationsEXT, VkSubpassSampleLocationsEXT

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • attachmentInitialSampleLocationsCount – the number of elements in the pAttachmentInitialSampleLocations array.
    • pAttachmentInitialSampleLocations – an array of attachmentInitialSampleLocationsCount VkAttachmentSampleLocationsEXT structures specifying the attachment indices and their corresponding sample location state. Each element of pAttachmentInitialSampleLocations can specify the sample location state to use in the automatic layout transition performed to transition a depth/stencil attachment from the initial layout of the attachment to the image layout specified for the attachment in the first subpass using it.
    • postSubpassSampleLocationsCount – the number of elements in the pPostSubpassSampleLocations array.
    • pPostSubpassSampleLocations – an array of postSubpassSampleLocationsCount VkSubpassSampleLocationsEXT structures specifying the subpass indices and their corresponding sample location state. Each element of pPostSubpassSampleLocations can specify the sample location state to use in the automatic layout transition performed to transition the depth/stencil attachment used by the specified subpass to the image layout specified in a dependent subpass or to the final layout of the attachment in case the specified subpass is the last subpass using that attachment. In addition, if VkPhysicalDeviceSampleLocationsPropertiesEXT::variableSampleLocations is FALSE, each element of pPostSubpassSampleLocations must specify the sample location state that matches the sample locations used by all pipelines that will be bound to a command buffer during the specified subpass. If variableSampleLocations is TRUE, the sample locations used for rasterization do not depend on pPostSubpassSampleLocations.

    Layout

    
     struct VkRenderPassSampleLocationsBeginInfoEXT {
         VkStructureType sType;
         void const * pNext;
         uint32_t attachmentInitialSampleLocationsCount;
         VkAttachmentSampleLocationsEXT const * pAttachmentInitialSampleLocations;
         uint32_t postSubpassSampleLocationsCount;
         VkSubpassSampleLocationsEXT const * pPostSubpassSampleLocations;
     }