Class VkInputAttachmentAspectReference

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Direct Known Subclasses:
    VkInputAttachmentAspectReferenceKHR

    public class VkInputAttachmentAspectReference
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying a subpass/input attachment pair and an aspect mask that can be read.
    Valid Usage
    • aspectMask must not include IMAGE_ASPECT_METADATA_BIT
    • aspectMask must not include VK_IMAGE_ASPECT_MEMORY_PLANE_i_BIT_EXT for any index i.
    Valid Usage (Implicit)
    • aspectMask must be a valid combination of VkImageAspectFlagBits values
    • aspectMask must not be 0
    See Also

    VkRenderPassInputAttachmentAspectCreateInfo

    Member documentation

    • subpass – an index into the pSubpasses array of the parent VkRenderPassCreateInfo structure.
    • inputAttachmentIndex – an index into the pInputAttachments of the specified subpass.
    • aspectMask – a mask of which aspect(s) can be accessed within the specified subpass.

    Layout

    
     struct VkInputAttachmentAspectReference {
         uint32_t subpass;
         uint32_t inputAttachmentIndex;
         VkImageAspectFlags aspectMask;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • SUBPASS, INPUTATTACHMENTINDEX, ASPECTMASK

        The struct member offsets.
    • Constructor Detail

      • VkInputAttachmentAspectReference

        public VkInputAttachmentAspectReference​(java.nio.ByteBuffer container)
        Creates a VkInputAttachmentAspectReference instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.