pRegions, must not overlap in memorysrcImage is non-sparse then it must be bound completely and contiguously to a single VkDeviceMemory objectsrcImage must have a sample count equal to any valid sample count value other than SAMPLE_COUNT_1_BITdstImage is non-sparse then it must be bound completely and contiguously to a single VkDeviceMemory objectdstImage must have a sample count equal to SAMPLE_COUNT_1_BITsrcImageLayout 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_GENERALdstImageLayout 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_GENERALdstImage must contain FORMAT_FEATURE_COLOR_ATTACHMENT_BITlinearColorAttachment feature is enabled and the image is created with IMAGE_TILING_LINEAR, the format features of dstImage must contain FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVsrcImage and dstImage must have been created with the same image formatsrcSubresource.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 dstSubresource.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_EXTdstImage is of type IMAGE_TYPE_3D, then for each element of pRegions, srcSubresource.layerCount must be 1dstImage is of type IMAGE_TYPE_3D, then for each element of pRegions, dstSubresource.baseArrayLayer must be 0 and dstSubresource.layerCount must be 1pRegions, srcOffset.x and (extent.width + srcOffset.x) must both be greater than or equal to 0 and less than or equal to the width of the specified srcSubresource of srcImagepRegions, srcOffset.y and (extent.height + srcOffset.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, srcOffset.y must be 0 and extent.height must be 1pRegions, srcOffset.z and (extent.depth + srcOffset.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, srcOffset.z must be 0 and extent.depth must be 1pRegions, dstOffset.x and (extent.width + dstOffset.x) must both be greater than or equal to 0 and less than or equal to the width of the specified dstSubresource of dstImagepRegions, dstOffset.y and (extent.height + dstOffset.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, dstOffset.y must be 0 and extent.height must be 1pRegions, dstOffset.z and (extent.depth + dstOffset.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, dstOffset.z must be 0 and extent.depth must be 1srcImage must have been created with IMAGE_USAGE_TRANSFER_SRC_BIT usage flagsrcImage must contain FORMAT_FEATURE_TRANSFER_SRC_BITdstImage must have been created with IMAGE_USAGE_TRANSFER_DST_BIT usage flagdstImage must contain FORMAT_FEATURE_TRANSFER_DST_BITsType must be STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2pNext must be NULLsrcImage 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 VkImageResolve2 structuresregionCount must be greater than 0dstImage, and srcImage must have been created, allocated, or retrieved from the same VkDeviceVkImageResolve2, CmdResolveImage2, CmdResolveImage2KHR
struct VkResolveImageInfo2 {
VkStructureType sType;
void const * pNext;
VkImage srcImage;
VkImageLayout srcImageLayout;
VkImage dstImage;
VkImageLayout dstImageLayout;
uint32_t regionCount;
VkImageResolve2 const * pRegions;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkResolveImageInfo2.
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 | 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 | VkResolveImageInfo2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkResolveImageInfo2 | |
| public static VkResolveImageInfo2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkResolveImageInfo2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkResolveImageInfo2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkResolveImageInfo2 | 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 VkResolveImageInfo2 | |
| public static VkResolveImageInfo2 | |
| public static VkResolveImageInfo2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkResolveImageInfo2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkResolveImageInfo2 | |
| public static VkResolveImageInfo2. | |
| public long | |
| public VkResolveImageInfo2 | |
| public int | |
| public VkResolveImageInfo2 | |
| public static VkResolveImageInfo2 | |
| public static VkResolveImageInfo2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkResolveImageInfo2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkResolveImageInfo2. | 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 long | |
| public static void | |
| public static VkImageResolve2. | |
| 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 VkResolveImageInfo2 | |
| public VkImageResolve2. | |
| public VkResolveImageInfo2 | pRegions(VkImageResolve2.
Sets the address of the specified |
| public int | |
| public VkResolveImageInfo2 | set(int sType, long pNext, long srcImage, int srcImageLayout, long dstImage, int dstImageLayout, VkImageResolve2.
Initializes this struct with the specified values. |
| public VkResolveImageInfo2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public VkResolveImageInfo2 | |
| public int | |
| public VkResolveImageInfo2 | |
| public int | |
| public VkResolveImageInfo2 | |
| public VkResolveImageInfo2 | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DSTIMAGE | back to summary |
|---|---|
| public static final int DSTIMAGE The struct member offsets. | |
| DSTIMAGELAYOUT | back to summary |
|---|---|
| public static final int DSTIMAGELAYOUT The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PREGIONS | back to summary |
|---|---|
| public static final int PREGIONS The struct member offsets. | |
| REGIONCOUNT | back to summary |
|---|---|
| public static final int REGIONCOUNT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SRCIMAGE | back to summary |
|---|---|
| public static final int SRCIMAGE The struct member offsets. | |
| SRCIMAGELAYOUT | back to summary |
|---|---|
| public static final int SRCIMAGELAYOUT The struct member offsets. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkResolveImageInfo2 | back to summary |
|---|---|
| protected VkResolveImageInfo2(long address, ByteBuffer container) | |
| VkResolveImageInfo2 | back to summary |
|---|---|
| public VkResolveImageInfo2(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkResolveImageInfo2 calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkResolveImageInfo2. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkResolveImageInfo2 calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkResolveImageInfo2. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkResolveImageInfo2 create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkResolveImageInfo2 create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkResolveImageInfo2 create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkResolveImageInfo2. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkResolveImageInfo2. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkResolveImageInfo2 createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkResolveImageInfo2. Like
| |
| dstImage | back to summary |
|---|---|
| public long dstImage() the destination image.
| |
| dstImage | back to summary |
|---|---|
| public VkResolveImageInfo2 dstImage(long value) Sets the specified value to the | |
| dstImageLayout | back to summary |
|---|---|
| public int dstImageLayout() the layout of the destination image subresources for the resolve.
| |
| dstImageLayout | back to summary |
|---|---|
| public VkResolveImageInfo2 dstImageLayout(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkResolveImageInfo2 malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkResolveImageInfo2. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkResolveImageInfo2 malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkResolveImageInfo2. Returns a new
| |
| ndstImage | back to summary |
|---|---|
| public static long ndstImage(long struct) Unsafe version of | |
| ndstImage | back to summary |
|---|---|
| public static void ndstImage(long struct, long value) Unsafe version of | |
| ndstImageLayout | back to summary |
|---|---|
| public static int ndstImageLayout(long struct) Unsafe version of | |
| ndstImageLayout | back to summary |
|---|---|
| public static void ndstImageLayout(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| npRegions | back to summary |
|---|---|
| public static VkImageResolve2. Unsafe version of | |
| npRegions | back to summary |
|---|---|
| public static void npRegions(long struct, VkImageResolve2. Unsafe version of | |
| nregionCount | back to summary |
|---|---|
| public static int nregionCount(long struct) Unsafe version of | |
| nregionCount | back to summary |
|---|---|
| public static void nregionCount(long struct, int value) Sets the specified value to the | |
| nsrcImage | back to summary |
|---|---|
| public static long nsrcImage(long struct) Unsafe version of | |
| nsrcImage | back to summary |
|---|---|
| public static void nsrcImage(long struct, long value) Unsafe version of | |
| nsrcImageLayout | back to summary |
|---|---|
| public static int nsrcImageLayout(long struct) Unsafe version of | |
| nsrcImageLayout | back to summary |
|---|---|
| public static void nsrcImageLayout(long struct, int value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkResolveImageInfo2 pNext(long value) Sets the specified value to the | |
| pRegions | back to summary |
|---|---|
| public VkImageResolve2. a pointer to an array of
| |
| pRegions | back to summary |
|---|---|
| public VkResolveImageInfo2 pRegions(VkImageResolve2. Sets the address of the specified | |
| regionCount | back to summary |
|---|---|
| public int regionCount() the number of regions to resolve.
| |
| set | back to summary |
|---|---|
| public VkResolveImageInfo2 set(int sType, long pNext, long srcImage, int srcImageLayout, long dstImage, int dstImageLayout, VkImageResolve2. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkResolveImageInfo2 set(VkResolveImageInfo2 src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| srcImage | back to summary |
|---|---|
| public long srcImage() the source image.
| |
| srcImage | back to summary |
|---|---|
| public VkResolveImageInfo2 srcImage(long value) Sets the specified value to the | |
| srcImageLayout | back to summary |
|---|---|
| public int srcImageLayout() the layout of the source image subresources for the resolve.
| |
| srcImageLayout | back to summary |
|---|---|
| public VkResolveImageInfo2 srcImageLayout(int value) Sets the specified value to the | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkResolveImageInfo2 sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkResolveImageInfo2 sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkResolveImageInfo2 structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkResolveImageInfo2 |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkResolveImageInfo2. | |
| public int | |
| public VkResolveImageInfo2. | |
| protected VkResolveImageInfo2 | |
| public long | |
| public VkResolveImageInfo2. | |
| public VkImageResolve2. | Returns: aVkImageResolve2. view of the struct array pointed to by the VkResolveImageInfo2#pRegions field.
|
| public VkResolveImageInfo2. | pRegions(VkImageResolve2.
Sets the address of the specified |
| public int | |
| protected VkResolveImageInfo2. | |
| public long | |
| public VkResolveImageInfo2. | |
| public int | |
| public VkResolveImageInfo2. | |
| public int | |
| public VkResolveImageInfo2. | |
| public VkResolveImageInfo2. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkResolveImageInfo2 ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| dstImage | back to summary |
|---|---|
public long dstImage()
| |
| dstImage | back to summary |
|---|---|
| public VkResolveImageInfo2. Sets the specified value to the | |
| dstImageLayout | back to summary |
|---|---|
public int dstImageLayout()
| |
| dstImageLayout | back to summary |
|---|---|
| public VkResolveImageInfo2. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkResolveImageInfo2 getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkResolveImageInfo2. Sets the specified value to the | |
| pRegions | back to summary |
|---|---|
public VkImageResolve2.
| |
| pRegions | back to summary |
|---|---|
| public VkResolveImageInfo2. Sets the address of the specified | |
| regionCount | back to summary |
|---|---|
public int regionCount()
| |
| self | back to summary |
|---|---|
| protected VkResolveImageInfo2. Implements abstract org.
| |
| srcImage | back to summary |
|---|---|
public long srcImage()
| |
| srcImage | back to summary |
|---|---|
| public VkResolveImageInfo2. Sets the specified value to the | |
| srcImageLayout | back to summary |
|---|---|
public int srcImageLayout()
| |
| srcImageLayout | back to summary |
|---|---|
| public VkResolveImageInfo2. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkResolveImageInfo2. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkResolveImageInfo2. Sets the | |