This structure is functionally identical to VkBufferImageCopy, but adds sType and pNext parameters, allowing it to be more easily extended.
bufferRowLength 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_BUFFER_IMAGE_COPY_2pNext must be NULL or a pointer to a valid instance of VkCopyCommandTransformInfoQCOMsType value of each struct in the pNext chain must be uniqueimageSubresource must be a valid VkImageSubresourceLayers structureVkCopyBufferToImageInfo2, VkCopyImageToBufferInfo2, VkExtent3D, VkImageSubresourceLayers, VkOffset3D
struct VkBufferImageCopy2 {
VkStructureType sType;
void const * pNext;
VkDeviceSize bufferOffset;
uint32_t bufferRowLength;
uint32_t bufferImageHeight;
VkImageSubresourceLayers imageSubresource;
VkOffset3D imageOffset;
VkExtent3D imageExtent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkBufferImageCopy2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUFFERIMAGEHEIGHT
The struct member offsets. |
| public static final int | BUFFEROFFSET
The struct member offsets. |
| public static final int | BUFFERROWLENGTH
The struct member offsets. |
| 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 | 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 | VkBufferImageCopy2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkBufferImageCopy2 | |
| public long | bufferOffset()
the offset in bytes from the start of the buffer object where the image data is copied from or to. |
| public VkBufferImageCopy2 | |
| public int | bufferRowLength()
|
| public VkBufferImageCopy2 | |
| public static VkBufferImageCopy2 | |
| public static VkBufferImageCopy2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkBufferImageCopy2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBufferImageCopy2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkBufferImageCopy2 | 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 VkBufferImageCopy2 | |
| public static VkBufferImageCopy2 | |
| public static VkBufferImageCopy2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkBufferImageCopy2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkBufferImageCopy2 | |
| public static VkBufferImageCopy2. | |
| public VkExtent3D | |
| public VkBufferImageCopy2 | |
| public VkBufferImageCopy2 | |
| public VkOffset3D | imageOffset()
selects the initial |
| public VkBufferImageCopy2 | |
| public VkBufferImageCopy2 | |
| public VkImageSubresourceLayers | imageSubresource()
a |
| public VkBufferImageCopy2 | imageSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkBufferImageCopy2 | imageSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public static VkBufferImageCopy2 | |
| public static VkBufferImageCopy2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkBufferImageCopy2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBufferImageCopy2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static VkExtent3D | |
| public static void | |
| public static VkOffset3D | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkBufferImageCopy2 | |
| public VkBufferImageCopy2 | pNext(VkCopyCommandTransformInfoQCOM value)
Prepends the specified |
| public VkBufferImageCopy2 | set(int sType, long pNext, long bufferOffset, int bufferRowLength, int bufferImageHeight, VkImageSubresourceLayers imageSubresource, VkOffset3D imageOffset, VkExtent3D imageExtent)
Initializes this struct with the specified values. |
| public VkBufferImageCopy2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkBufferImageCopy2 | |
| public VkBufferImageCopy2 |