For each element of the pRegions array, a blit operation is performed for the specified source and destination regions.
aspectMask member of srcSubresource and dstSubresource must matchmaintenance5 feature is not enabled, the layerCount member of srcSubresource or dstSubresource must not be REMAINING_ARRAY_LAYERSlayerCount members of srcSubresource or dstSubresource are REMAINING_ARRAY_LAYERS, the layerCount members must matchlayerCount members of srcSubresource or dstSubresource is REMAINING_ARRAY_LAYERS, the other member must be either REMAINING_ARRAY_LAYERS or equal to the arrayLayers member of the VkImageCreateInfo used to create the image minus baseArrayLayersType must be STRUCTURE_TYPE_IMAGE_BLIT_2pNext must be NULL or a pointer to a valid instance of VkCopyCommandTransformInfoQCOMsType value of each struct in the pNext chain must be uniquesrcSubresource must be a valid VkImageSubresourceLayers structuredstSubresource must be a valid VkImageSubresourceLayers structureVkBlitImageInfo2, VkImageSubresourceLayers, VkOffset3D
struct VkImageBlit2 {
VkStructureType sType;
void const * pNext;
VkImageSubresourceLayers srcSubresource;
VkOffset3D srcOffsets[2];
VkImageSubresourceLayers dstSubresource;
VkOffset3D dstOffsets[2];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageBlit2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DSTOFFSETS
The struct member offsets. |
| public static final int | DSTSUBRESOURCE
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 | SRCOFFSETS
The struct member offsets. |
| public static final int | SRCSUBRESOURCE
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageBlit2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImageBlit2 | |
| public static VkImageBlit2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageBlit2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageBlit2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkImageBlit2 | 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 VkImageBlit2 | |
| public static VkImageBlit2 | |
| public static VkImageBlit2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageBlit2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageBlit2 | |
| public static VkImageBlit2. | |
| public VkOffset3D. | dstOffsets()
a pointer to an array of two |
| public VkOffset3D | dstOffsets(int index)
a pointer to an array of two |
| public VkImageBlit2 | |
| public VkImageBlit2 | dstOffsets(int index, VkOffset3D value)
Copies the specified |
| public VkImageBlit2 | dstOffsets(Consumer<VkOffset3D.
Passes the |
| public VkImageBlit2 | dstOffsets(int index, Consumer<VkOffset3D> consumer)
Passes the element at |
| public VkImageSubresourceLayers | |
| public VkImageBlit2 | dstSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageBlit2 | dstSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public static VkImageBlit2 | |
| public static VkImageBlit2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageBlit2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageBlit2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkOffset3D. | |
| public static VkOffset3D | |
| public static void | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public static long | |
| public static void | |
| public static VkOffset3D. | |
| public static VkOffset3D | |
| public static void | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkImageBlit2 | |
| public VkImageBlit2 | pNext(VkCopyCommandTransformInfoQCOM value)
Prepends the specified |
| public VkImageBlit2 | set(int sType, long pNext, VkImageSubresourceLayers srcSubresource, VkOffset3D.
Initializes this struct with the specified values. |
| public VkImageBlit2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public VkOffset3D. | srcOffsets()
a pointer to an array of two |
| public VkOffset3D | srcOffsets(int index)
a pointer to an array of two |
| public VkImageBlit2 | |
| public VkImageBlit2 | srcOffsets(int index, VkOffset3D value)
Copies the specified |
| public VkImageBlit2 | srcOffsets(Consumer<VkOffset3D.
Passes the |
| public VkImageBlit2 | srcOffsets(int index, Consumer<VkOffset3D> consumer)
Passes the element at |
| public VkImageSubresourceLayers | |
| public VkImageBlit2 | srcSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageBlit2 | srcSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public int | |
| public VkImageBlit2 | |
| public VkImageBlit2 |