Class VkBufferImageCopy2

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

public class VkBufferImageCopy2 extends Struct<VkBufferImageCopy2> implements NativeResource

 struct VkBufferImageCopy2 {
     VkStructureType sType;
     void const * pNext;
     VkDeviceSize bufferOffset;
     uint32_t bufferRowLength;
     uint32_t bufferImageHeight;
     {@link VkImageSubresourceLayers VkImageSubresourceLayers} imageSubresource;
     {@link VkOffset3D VkOffset3D} imageOffset;
     {@link VkExtent3D VkExtent3D} imageExtent;
 }
  • 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.
    • BUFFEROFFSET

      public static final int BUFFEROFFSET
      The struct member offsets.
    • BUFFERROWLENGTH

      public static final int BUFFERROWLENGTH
      The struct member offsets.
    • BUFFERIMAGEHEIGHT

      public static final int BUFFERIMAGEHEIGHT
      The struct member offsets.
    • IMAGESUBRESOURCE

      public static final int IMAGESUBRESOURCE
      The struct member offsets.
    • IMAGEOFFSET

      public static final int IMAGEOFFSET
      The struct member offsets.
    • IMAGEEXTENT

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

    • VkBufferImageCopy2

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