Class VkAttachmentReference2

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
Direct Known Subclasses:
VkAttachmentReference2KHR

public class VkAttachmentReference2 extends Struct<VkAttachmentReference2> implements NativeResource

 struct VkAttachmentReference2 {
     VkStructureType sType;
     void const * pNext;
     uint32_t attachment;
     VkImageLayout layout;
     VkImageAspectFlags aspectMask;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • ATTACHMENT

      public static final int ATTACHMENT
      The struct member offsets.
    • LAYOUT

      public static final int LAYOUT
      The struct member offsets.
    • ASPECTMASK

      public static final int ASPECTMASK
      The struct member offsets.
  • Constructor Details

    • VkAttachmentReference2

      public VkAttachmentReference2(ByteBuffer container)
      Creates a VkAttachmentReference2 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.

  • Method Details