Class VkAttachmentDescription2

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

public class VkAttachmentDescription2 extends Struct<VkAttachmentDescription2> implements NativeResource
struct VkAttachmentDescription2 {
    VkStructureType sType;
    void const * pNext;
    VkAttachmentDescriptionFlags flags;
    VkFormat format;
    VkSampleCountFlagBits samples;
    VkAttachmentLoadOp loadOp;
    VkAttachmentStoreOp storeOp;
    VkAttachmentLoadOp stencilLoadOp;
    VkAttachmentStoreOp stencilStoreOp;
    VkImageLayout initialLayout;
    VkImageLayout finalLayout;
}
  • 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.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • FORMAT

      public static final int FORMAT
      The struct member offsets.
    • SAMPLES

      public static final int SAMPLES
      The struct member offsets.
    • LOADOP

      public static final int LOADOP
      The struct member offsets.
    • STOREOP

      public static final int STOREOP
      The struct member offsets.
    • STENCILLOADOP

      public static final int STENCILLOADOP
      The struct member offsets.
    • STENCILSTOREOP

      public static final int STENCILSTOREOP
      The struct member offsets.
    • INITIALLAYOUT

      public static final int INITIALLAYOUT
      The struct member offsets.
    • FINALLAYOUT

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

    • VkAttachmentDescription2

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