This structure is functionally similar to VkBufferImageCopy2, except it defines host memory as the target of copy instead of a buffer. In particular, the same data packing rules and restrictions as that structure apply here as well.
pHostPointer must point to memory that is large enough to contain all memory locations that are accessed according to Buffer and Image Addressing, for each element of pRegionspRegions, must not overlap in memorybufferRowLength must be 0, or greater than or equal to the width member of imageExtentbufferImageHeight must be 0, or greater than or equal to the height member of imageExtentaspectMask member of imageSubresource must only have a single bit setimageExtent.width must not be 0imageExtent.height must not be 0imageExtent.depth must not be 0sType must be STRUCTURE_TYPE_IMAGE_TO_MEMORY_COPY_EXTpNext must be NULLpHostPointer must be a pointer valueimageSubresource must be a valid VkImageSubresourceLayers structureVkCopyImageToMemoryInfoEXT, VkExtent3D, VkImageSubresourceLayers, VkOffset3D
struct VkImageToMemoryCopyEXT {
VkStructureType sType;
void const * pNext;
void * pHostPointer;
uint32_t memoryRowLength;
uint32_t memoryImageHeight;
VkImageSubresourceLayers imageSubresource;
VkOffset3D imageOffset;
VkExtent3D imageExtent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageToMemoryCopyEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | IMAGEEXTENT
The struct member offsets. |
| public static final int | IMAGEOFFSET
The struct member offsets. |
| public static final int | IMAGESUBRESOURCE
The struct member offsets. |
| public static final int | MEMORYIMAGEHEIGHT
The struct member offsets. |
| public static final int | MEMORYROWLENGTH
The struct member offsets. |
| public static final int | PHOSTPOINTER
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageToMemoryCopyEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImageToMemoryCopyEXT | |
| public static VkImageToMemoryCopyEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageToMemoryCopyEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageToMemoryCopyEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkImageToMemoryCopyEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkImageToMemoryCopyEXT | |
| public static VkImageToMemoryCopyEXT | |
| public static VkImageToMemoryCopyEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageToMemoryCopyEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageToMemoryCopyEXT | |
| public static VkImageToMemoryCopyEXT. | |
| public VkExtent3D | |
| public VkImageToMemoryCopyEXT | |
| public VkImageToMemoryCopyEXT | |
| public VkOffset3D | imageOffset()
selects the initial |
| public VkImageToMemoryCopyEXT | |
| public VkImageToMemoryCopyEXT | |
| public VkImageSubresourceLayers | imageSubresource()
a |
| public VkImageToMemoryCopyEXT | imageSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageToMemoryCopyEXT | imageSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public static VkImageToMemoryCopyEXT | |
| public static VkImageToMemoryCopyEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageToMemoryCopyEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageToMemoryCopyEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public VkImageToMemoryCopyEXT | |
| public int | memoryRowLength()
|
| public VkImageToMemoryCopyEXT | |
| public static VkExtent3D | |
| public static void | |
| public static VkOffset3D | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkImageToMemoryCopyEXT | |
| public long | |
| public VkImageToMemoryCopyEXT | |
| public VkImageToMemoryCopyEXT | set(int sType, long pNext, long pHostPointer, int memoryRowLength, int memoryImageHeight, VkImageSubresourceLayers imageSubresource, VkOffset3D imageOffset, VkExtent3D imageExtent)
Initializes this struct with the specified values. |
| public VkImageToMemoryCopyEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkImageToMemoryCopyEXT | |
| public VkImageToMemoryCopyEXT | |
| public static void |