Class VkAttachmentDescription

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkAttachmentDescription extends Struct<VkAttachmentDescription> implements NativeResource

 struct VkAttachmentDescription {
     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.
    • 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

    • VkAttachmentDescription

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