Class VkImageToMemoryCopy

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

public class VkImageToMemoryCopy extends Struct<VkImageToMemoryCopy> implements NativeResource

 struct VkImageToMemoryCopy {
     VkStructureType sType;
     void const * pNext;
     void * pHostPointer;
     uint32_t memoryRowLength;
     uint32_t memoryImageHeight;
     {@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.
    • PHOSTPOINTER

      public static final int PHOSTPOINTER
      The struct member offsets.
    • MEMORYROWLENGTH

      public static final int MEMORYROWLENGTH
      The struct member offsets.
    • MEMORYIMAGEHEIGHT

      public static final int MEMORYIMAGEHEIGHT
      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

    • VkImageToMemoryCopy

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