Class VkAttachmentSampleLocationsEXT

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

    public class VkAttachmentSampleLocationsEXT
    extends Struct
    implements NativeResource
    Structure specifying the sample locations state to use in the initial layout transition of attachments.

    If the image referenced by the framebuffer attachment at index attachmentIndex was not created with IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT then the values specified in sampleLocationsInfo are ignored.

    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkRenderPassSampleLocationsBeginInfoEXT, VkSampleLocationsInfoEXT

    Member documentation

    • attachmentIndex – the index of the attachment for which the sample locations state is provided.
    • sampleLocationsInfo – the sample locations state to use for the layout transition of the given attachment from the initial layout of the attachment to the image layout specified for the attachment in the first subpass using it.


     struct VkAttachmentSampleLocationsEXT {
         uint32_t attachmentIndex;
         VkSampleLocationsInfoEXT sampleLocationsInfo;