Class VkSubpassDescription

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkSubpassDescription extends Struct<VkSubpassDescription> implements NativeResource
struct VkSubpassDescription {
    VkSubpassDescriptionFlags flags;
    VkPipelineBindPoint pipelineBindPoint;
    uint32_t inputAttachmentCount;
    VkAttachmentReference const * pInputAttachments;
    uint32_t colorAttachmentCount;
    VkAttachmentReference const * pColorAttachments;
    VkAttachmentReference const * pResolveAttachments;
    VkAttachmentReference const * pDepthStencilAttachment;
    uint32_t preserveAttachmentCount;
    uint32_t const * pPreserveAttachments;
}
  • 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.
    • PIPELINEBINDPOINT

      public static final int PIPELINEBINDPOINT
      The struct member offsets.
    • INPUTATTACHMENTCOUNT

      public static final int INPUTATTACHMENTCOUNT
      The struct member offsets.
    • PINPUTATTACHMENTS

      public static final int PINPUTATTACHMENTS
      The struct member offsets.
    • COLORATTACHMENTCOUNT

      public static final int COLORATTACHMENTCOUNT
      The struct member offsets.
    • PCOLORATTACHMENTS

      public static final int PCOLORATTACHMENTS
      The struct member offsets.
    • PRESOLVEATTACHMENTS

      public static final int PRESOLVEATTACHMENTS
      The struct member offsets.
    • PDEPTHSTENCILATTACHMENT

      public static final int PDEPTHSTENCILATTACHMENT
      The struct member offsets.
    • PRESERVEATTACHMENTCOUNT

      public static final int PRESERVEATTACHMENTCOUNT
      The struct member offsets.
    • PPRESERVEATTACHMENTS

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

    • VkSubpassDescription

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