pRegions must be a region that is contained within srcImagepRegions must be a region that is contained within dstImagepRegions, must not overlap in memory with any texel that may be sampled during the blit operationsrcImage must contain FORMAT_FEATURE_BLIT_SRC_BITsrcImage must not use a format that requires a sampler Y′CBCR conversionsrcImage must have been created with IMAGE_USAGE_TRANSFER_SRC_BIT usage flagsrcImage is non-sparse then it must be bound completely and contiguously to a single VkDeviceMemory objectsrcImageLayout must specify the layout of the image subresources of srcImage specified in pRegions at the time this command is executed on a VkDevicesrcImageLayout must be IMAGE_LAYOUT_SHARED_PRESENT_KHR, IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL or IMAGE_LAYOUT_GENERALdstImage must contain FORMAT_FEATURE_BLIT_DST_BITdstImage must not use a format that requires a sampler Y′CBCR conversiondstImage must have been created with IMAGE_USAGE_TRANSFER_DST_BIT usage flagdstImage is non-sparse then it must be bound completely and contiguously to a single VkDeviceMemory objectdstImageLayout must specify the layout of the image subresources of dstImage specified in pRegions at the time this command is executed on a VkDevicedstImageLayout must be IMAGE_LAYOUT_SHARED_PRESENT_KHR, IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL or IMAGE_LAYOUT_GENERALsrcImage or dstImage was created with a signed integer VkFormat, the other must also have been created with a signed integer VkFormatsrcImage or dstImage was created with an unsigned integer VkFormat, the other must also have been created with an unsigned integer VkFormatsrcImage or dstImage was created with a depth/stencil format, the other must have exactly the same formatsrcImage was created with a depth/stencil format, filter must be FILTER_NEARESTsrcImage must have been created with a samples value of SAMPLE_COUNT_1_BITdstImage must have been created with a samples value of SAMPLE_COUNT_1_BITfilter is FILTER_LINEAR, then the format features of srcImage must contain FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BITfilter is FILTER_CUBIC_EXT, then the format features of srcImage must contain FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXTfilter is FILTER_CUBIC_EXT, srcImage must be of type IMAGE_TYPE_2DsrcSubresource.mipLevel member of each element of pRegions must be less than the mipLevels specified in VkImageCreateInfo when srcImage was createddstSubresource.mipLevel member of each element of pRegions must be less than the mipLevels specified in VkImageCreateInfo when dstImage was createdsrcSubresource.baseArrayLayer + srcSubresource.layerCount of each element of pRegions , if srcSubresource.layerCount is not REMAINING_ARRAY_LAYERS and maintenance5 is not enabled, must be less than or equal to the arrayLayers specified in VkImageCreateInfo when srcImage was createddstSubresource.baseArrayLayer + dstSubresource.layerCount of each element of pRegions , if srcSubresource.layerCount is not REMAINING_ARRAY_LAYERS and maintenance5 is not enabled, must be less than or equal to the arrayLayers specified in VkImageCreateInfo when dstImage was createddstImage and srcImage must not have been created with flags containing IMAGE_CREATE_SUBSAMPLED_BIT_EXTsrcImage or dstImage is of type IMAGE_TYPE_3D, then for each element of pRegions, srcSubresource.baseArrayLayer and dstSubresource.baseArrayLayer must each be 0, and srcSubresource.layerCount and dstSubresource.layerCount must each be 1pRegions, srcSubresource.aspectMask must specify aspects present in srcImagepRegions, dstSubresource.aspectMask must specify aspects present in dstImagepRegions, srcOffsets[0].x and srcOffsets[1].x must both be greater than or equal to 0 and less than or equal to the width of the specified srcSubresource of srcImagepRegions, srcOffsets[0].y and srcOffsets[1].y must both be greater than or equal to 0 and less than or equal to the height of the specified srcSubresource of srcImagesrcImage is of type IMAGE_TYPE_1D, then for each element of pRegions, srcOffsets[0].y must be 0 and srcOffsets[1].y must be 1pRegions, srcOffsets[0].z and srcOffsets[1].z must both be greater than or equal to 0 and less than or equal to the depth of the specified srcSubresource of srcImagesrcImage is of type IMAGE_TYPE_1D or IMAGE_TYPE_2D, then for each element of pRegions, srcOffsets[0].z must be 0 and srcOffsets[1].z must be 1pRegions, dstOffsets[0].x and dstOffsets[1].x must both be greater than or equal to 0 and less than or equal to the width of the specified dstSubresource of dstImagepRegions, dstOffsets[0].y and dstOffsets[1].y must both be greater than or equal to 0 and less than or equal to the height of the specified dstSubresource of dstImagedstImage is of type IMAGE_TYPE_1D, then for each element of pRegions, dstOffsets[0].y must be 0 and dstOffsets[1].y must be 1pRegions, dstOffsets[0].z and dstOffsets[1].z must both be greater than or equal to 0 and less than or equal to the depth of the specified dstSubresource of dstImagedstImage is of type IMAGE_TYPE_1D or IMAGE_TYPE_2D, then for each element of pRegions, dstOffsets[0].z must be 0 and dstOffsets[1].z must be 1pRegions contains VkCopyCommandTransformInfoQCOM in its pNext chain, then srcImage and dstImage must not be block-compressed imagespRegions contains VkCopyCommandTransformInfoQCOM in its pNext chain, then srcImage must be of type IMAGE_TYPE_2DpRegions contains VkCopyCommandTransformInfoQCOM in its pNext chain, then srcImage must not have a multi-planar formatfilter is FILTER_CUBIC_EXT and if the selectableCubicWeights feature is not enabled then the cubic weights must be CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOMsType must be STRUCTURE_TYPE_BLIT_IMAGE_INFO_2pNext must be NULL or a pointer to a valid instance of VkBlitImageCubicWeightsInfoQCOMsType value of each struct in the pNext chain must be uniquesrcImage must be a valid VkImage handlesrcImageLayout must be a valid VkImageLayout valuedstImage must be a valid VkImage handledstImageLayout must be a valid VkImageLayout valuepRegions must be a valid pointer to an array of regionCount valid VkImageBlit2 structuresfilter must be a valid VkFilter valueregionCount must be greater than 0dstImage, and srcImage must have been created, allocated, or retrieved from the same VkDeviceVkImageBlit2, CmdBlitImage2, CmdBlitImage2KHR
struct VkBlitImageInfo2 {
VkStructureType sType;
void const * pNext;
VkImage srcImage;
VkImageLayout srcImageLayout;
VkImage dstImage;
VkImageLayout dstImageLayout;
uint32_t regionCount;
VkImageBlit2 const * pRegions;
VkFilter filter;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkBlitImageInfo2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DSTIMAGE
The struct member offsets. |
| public static final int | DSTIMAGELAYOUT
The struct member offsets. |
| public static final int | FILTER
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PREGIONS
The struct member offsets. |
| public static final int | REGIONCOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SRCIMAGE
The struct member offsets. |
| public static final int | SRCIMAGELAYOUT
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkBlitImageInfo2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkBlitImageInfo2 | |
| public static VkBlitImageInfo2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkBlitImageInfo2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBlitImageInfo2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkBlitImageInfo2 | 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 VkBlitImageInfo2 | |
| public static VkBlitImageInfo2 | |
| public static VkBlitImageInfo2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkBlitImageInfo2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkBlitImageInfo2 | |
| public static VkBlitImageInfo2. | |
| public long | |
| public VkBlitImageInfo2 | |
| public int | |
| public VkBlitImageInfo2 | |
| public int | |
| public VkBlitImageInfo2 | |
| public static VkBlitImageInfo2 | |
| public static VkBlitImageInfo2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkBlitImageInfo2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBlitImageInfo2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static VkImageBlit2. | |
| public static void | |
| public static int | |
| public static void | nregionCount(long struct, int value)
Sets the specified value to the |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkBlitImageInfo2 | |
| public VkBlitImageInfo2 | pNext(VkBlitImageCubicWeightsInfoQCOM value)
Prepends the specified |
| public VkImageBlit2. | |
| public VkBlitImageInfo2 | pRegions(VkImageBlit2.
Sets the address of the specified |
| public int | |
| public VkBlitImageInfo2 | set(int sType, long pNext, long srcImage, int srcImageLayout, long dstImage, int dstImageLayout, VkImageBlit2.
Initializes this struct with the specified values. |
| public VkBlitImageInfo2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public VkBlitImageInfo2 | |
| public int | |
| public VkBlitImageInfo2 | |
| public int | |
| public VkBlitImageInfo2 | |
| public VkBlitImageInfo2 | |
| public static void |