Class VkCopyImageToBufferInfo2

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

public class VkCopyImageToBufferInfo2 extends Struct<VkCopyImageToBufferInfo2> implements NativeResource

 struct VkCopyImageToBufferInfo2 {
     VkStructureType sType;
     void const * pNext;
     VkImage srcImage;
     VkImageLayout srcImageLayout;
     VkBuffer dstBuffer;
     uint32_t regionCount;
     {@link VkBufferImageCopy2 VkBufferImageCopy2} const * pRegions;
 }
  • 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.
    • SRCIMAGE

      public static final int SRCIMAGE
      The struct member offsets.
    • SRCIMAGELAYOUT

      public static final int SRCIMAGELAYOUT
      The struct member offsets.
    • DSTBUFFER

      public static final int DSTBUFFER
      The struct member offsets.
    • REGIONCOUNT

      public static final int REGIONCOUNT
      The struct member offsets.
    • PREGIONS

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

    • VkCopyImageToBufferInfo2

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