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 baseArrayLayersrcSubresource must be a valid VkImageSubresourceLayers structuredstSubresource must be a valid VkImageSubresourceLayers structureVkImageSubresourceLayers, VkOffset3D, CmdBlitImage
struct VkImageBlit {
VkImageSubresourceLayers srcSubresource;
VkOffset3D srcOffsets[2];
VkImageSubresourceLayers dstSubresource;
VkOffset3D dstOffsets[2];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageBlit.
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 | SIZEOF
The struct size in bytes. |
| public static final int | SRCOFFSETS
The struct member offsets. |
| public static final int | SRCSUBRESOURCE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageBlit(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImageBlit | |
| public static VkImageBlit. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageBlit | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageBlit. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageBlit | |
| public static VkImageBlit | |
| public static VkImageBlit. | |
| public static VkImageBlit. | |
| protected VkImageBlit | 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 VkImageBlit | |
| public static VkImageBlit | |
| public static VkImageBlit. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageBlit. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageBlit | |
| public static VkImageBlit. | |
| public VkOffset3D. | dstOffsets()
a pointer to an array of two |
| public VkOffset3D | dstOffsets(int index)
a pointer to an array of two |
| public VkImageBlit | |
| public VkImageBlit | dstOffsets(int index, VkOffset3D value)
Copies the specified |
| public VkImageBlit | dstOffsets(Consumer<VkOffset3D.
Passes the |
| public VkImageBlit | dstOffsets(int index, Consumer<VkOffset3D> consumer)
Passes the element at |
| public VkImageSubresourceLayers | |
| public VkImageBlit | dstSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageBlit | dstSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public static VkImageBlit | |
| public static VkImageBlit. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageBlit | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageBlit. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageBlit | |
| public static VkImageBlit | |
| public static VkImageBlit. | |
| public static VkImageBlit. | |
| public static VkOffset3D. | |
| public static VkOffset3D | |
| public static void | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public static VkOffset3D. | |
| public static VkOffset3D | |
| public static void | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public VkImageBlit | set(VkImageSubresourceLayers srcSubresource, VkOffset3D.
Initializes this struct with the specified values. |
| public VkImageBlit | 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 VkImageBlit | |
| public VkImageBlit | srcOffsets(int index, VkOffset3D value)
Copies the specified |
| public VkImageBlit | srcOffsets(Consumer<VkOffset3D.
Passes the |
| public VkImageBlit | srcOffsets(int index, Consumer<VkOffset3D> consumer)
Passes the element at |
| public VkImageSubresourceLayers | |
| public VkImageBlit | srcSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageBlit | srcSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |