This structure is functionally similar to VkBufferImageCopy2, except it defines host memory as the source 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_MEMORY_TO_IMAGE_COPY_EXTpNext must be NULLpHostPointer must be a pointer valueimageSubresource must be a valid VkImageSubresourceLayers structureVkCopyMemoryToImageInfoEXT, VkExtent3D, VkImageSubresourceLayers, VkOffset3D
struct VkMemoryToImageCopyEXT {
VkStructureType sType;
void const * pNext;
void const * pHostPointer;
uint32_t memoryRowLength;
uint32_t memoryImageHeight;
VkImageSubresourceLayers imageSubresource;
VkOffset3D imageOffset;
VkExtent3D imageExtent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkMemoryToImageCopyEXT.
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 | VkMemoryToImageCopyEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkMemoryToImageCopyEXT | |
| public static VkMemoryToImageCopyEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkMemoryToImageCopyEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkMemoryToImageCopyEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkMemoryToImageCopyEXT | 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 VkMemoryToImageCopyEXT | |
| public static VkMemoryToImageCopyEXT | |
| public static VkMemoryToImageCopyEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkMemoryToImageCopyEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkMemoryToImageCopyEXT | |
| public static VkMemoryToImageCopyEXT. | |
| public VkExtent3D | |
| public VkMemoryToImageCopyEXT | |
| public VkMemoryToImageCopyEXT | |
| public VkOffset3D | imageOffset()
selects the initial |
| public VkMemoryToImageCopyEXT | |
| public VkMemoryToImageCopyEXT | |
| public VkImageSubresourceLayers | imageSubresource()
a |
| public VkMemoryToImageCopyEXT | imageSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkMemoryToImageCopyEXT | imageSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public static VkMemoryToImageCopyEXT | |
| public static VkMemoryToImageCopyEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkMemoryToImageCopyEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkMemoryToImageCopyEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public VkMemoryToImageCopyEXT | |
| public int | memoryRowLength()
|
| public VkMemoryToImageCopyEXT | |
| 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 VkMemoryToImageCopyEXT | |
| public long | |
| public VkMemoryToImageCopyEXT | |
| public VkMemoryToImageCopyEXT | 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 VkMemoryToImageCopyEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkMemoryToImageCopyEXT | |
| public VkMemoryToImageCopyEXT | |
| public static void |