pRegions does not contain VkCopyCommandTransformInfoQCOM in its pNext chain, it must be contained within the specified imageSubresource of srcImagepRegions contains VkCopyCommandTransformInfoQCOM in its pNext chain, the rotated source region as described in Buffer and Image Addressing with Rotation must be contained within srcImagepRegions contains VkCopyCommandTransformInfoQCOM in its pNext chain, then srcImage must have a 1x1x1 texel block extentpRegions 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 formatdstBuffer must be large enough to contain all buffer locations that are accessed according to Buffer and Image Addressing, for each element of pRegionspRegions, must not overlap in memorysrcImage must have been created with IMAGE_USAGE_TRANSFER_SRC_BIT usage flagsrcImage must contain FORMAT_FEATURE_TRANSFER_SRC_BITdstBuffer must have been created with BUFFER_USAGE_TRANSFER_DST_BIT usage flagdstBuffer 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_TRANSFER_SRC_OPTIMAL, IMAGE_LAYOUT_GENERAL, or IMAGE_LAYOUT_SHARED_PRESENT_KHRsrcImage is non-sparse then the image or the specified disjoint plane must be bound completely and contiguously to a single VkDeviceMemory objectimageSubresource.mipLevel member of each element of pRegions must be less than the mipLevels specified in VkImageCreateInfo when srcImage was createdimageSubresource.baseArrayLayer + imageSubresource.layerCount of each element of pRegions , if imageSubresource.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 createdsrcImage must not have been created with flags containing IMAGE_CREATE_SUBSAMPLED_BIT_EXTsrcImage must have a sample count equal to SAMPLE_COUNT_1_BITsrcImage is of type IMAGE_TYPE_1D, then for each element of pRegions, imageOffset.y must be 0 and imageExtent.height must be 1pRegions, imageOffset.z and (imageExtent.depth + imageOffset.z) must both be greater than or equal to 0 and less than or equal to the depth of the specified imageSubresource of srcImagesrcImage is of type IMAGE_TYPE_1D or IMAGE_TYPE_2D, then for each element of pRegions, imageOffset.z must be 0 and imageExtent.depth must be 1pRegions, imageOffset.x must be a multiple of the texel block extent width of the VkFormat of srcImagepRegions, imageOffset.y must be a multiple of the texel block extent height of the VkFormat of srcImagepRegions, imageOffset.z must be a multiple of the texel block extent depth of the VkFormat of srcImagepRegions, if the sum of imageOffset.x and extent.width does not equal the width of the subresource specified by srcSubresource, extent.width must be a multiple of the texel block extent width of the VkFormat of srcImagepRegions, if the sum of imageOffset.y and extent.height does not equal the height of the subresource specified by srcSubresource, extent.height must be a multiple of the texel block extent height of the VkFormat of srcImagepRegions, if the sum of imageOffset.z and extent.depth does not equal the depth of the subresource specified by srcSubresource, extent.depth must be a multiple of the texel block extent depth of the VkFormat of srcImagepRegions, imageSubresource.aspectMask must specify aspects present in srcImagesrcImage has a multi-planar image format, then for each element of pRegions, imageSubresource.aspectMask must be a single valid multi-planar aspect mask bitsrcImage is of type IMAGE_TYPE_3D, for each element of pRegions, imageSubresource.baseArrayLayer must be 0 and imageSubresource.layerCount must be 1pRegions, bufferRowLength must be a multiple of the texel block extent width of the VkFormat of srcImagepRegions, bufferImageHeight must be a multiple of the texel block extent height of the VkFormat of srcImagepRegions, bufferRowLength divided by the texel block extent width and then multiplied by the texel block size of srcImage must be less than or equal to 231-1srcImage does not have either a depth/stencil or a multi-planar format, then for each element of pRegions, bufferOffset must be a multiple of the texel block sizesrcImage has a multi-planar format, then for each element of pRegions, bufferOffset must be a multiple of the element size of the compatible format for the format and the aspectMask of the imageSubresource as defined in Compatible formats of planes of multi-planar formatssrcImage has a depth/stencil format, the bufferOffset member of any element of pRegions must be a multiple of 4pRegions not containing VkCopyCommandTransformInfoQCOM in its pNext chain, imageOffset.x and (imageExtent.width + imageOffset.x) must both be greater than or equal to 0 and less than or equal to the width of the specified imageSubresource of srcImagepRegions not containing VkCopyCommandTransformInfoQCOM in its pNext chain, imageOffset.y and (imageExtent.height + imageOffset.y) must both be greater than or equal to 0 and less than or equal to the height of the specified imageSubresource of srcImagesType must be STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2pNext must be NULLsrcImage must be a valid VkImage handlesrcImageLayout must be a valid VkImageLayout valuedstBuffer must be a valid VkBuffer handlepRegions must be a valid pointer to an array of regionCount valid VkBufferImageCopy2 structuresregionCount must be greater than 0dstBuffer, and srcImage must have been created, allocated, or retrieved from the same VkDeviceVkBufferImageCopy2, CmdCopyImageToBuffer2, CmdCopyImageToBuffer2KHR
struct VkCopyImageToBufferInfo2 {
VkStructureType sType;
void const * pNext;
VkImage srcImage;
VkImageLayout srcImageLayout;
VkBuffer dstBuffer;
uint32_t regionCount;
VkBufferImageCopy2 const * pRegions;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkCopyImageToBufferInfo2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DSTBUFFER
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 | VkCopyImageToBufferInfo2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkCopyImageToBufferInfo2 | |
| public static VkCopyImageToBufferInfo2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkCopyImageToBufferInfo2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkCopyImageToBufferInfo2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkCopyImageToBufferInfo2 | 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 VkCopyImageToBufferInfo2 | |
| public static VkCopyImageToBufferInfo2 | create(long address)
Returns a new |
| public static VkCopyImageToBufferInfo2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkCopyImageToBufferInfo2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkCopyImageToBufferInfo2 | |
| public static VkCopyImageToBufferInfo2. | |
| public long | |
| public VkCopyImageToBufferInfo2 | |
| public static VkCopyImageToBufferInfo2 | |
| public static VkCopyImageToBufferInfo2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkCopyImageToBufferInfo2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkCopyImageToBufferInfo2. | 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 long | |
| public static void | |
| public static VkBufferImageCopy2. | |
| 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 VkCopyImageToBufferInfo2 | |
| public VkBufferImageCopy2. | |
| public VkCopyImageToBufferInfo2 | pRegions(VkBufferImageCopy2.
Sets the address of the specified |
| public int | |
| public VkCopyImageToBufferInfo2 | set(int sType, long pNext, long srcImage, int srcImageLayout, long dstBuffer, VkBufferImageCopy2.
Initializes this struct with the specified values. |
| public VkCopyImageToBufferInfo2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public VkCopyImageToBufferInfo2 | |
| public int | |
| public VkCopyImageToBufferInfo2 | |
| public int | |
| public VkCopyImageToBufferInfo2 | |
| public VkCopyImageToBufferInfo2 | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DSTBUFFER | back to summary |
|---|---|
| public static final int DSTBUFFER 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. | |
| VkCopyImageToBufferInfo2 | back to summary |
|---|---|
| protected VkCopyImageToBufferInfo2(long address, ByteBuffer container) | |
| VkCopyImageToBufferInfo2 | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2 calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2 calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkCopyImageToBufferInfo2 create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2 create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2 create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2 createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2. Like
| |
| dstBuffer | back to summary |
|---|---|
| public long dstBuffer() the destination buffer.
| |
| dstBuffer | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2 dstBuffer(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2 malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2 malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkCopyImageToBufferInfo2. Returns a new
| |
| ndstBuffer | back to summary |
|---|---|
| public static long ndstBuffer(long struct) Unsafe version of | |
| ndstBuffer | back to summary |
|---|---|
| public static void ndstBuffer(long struct, long 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 VkBufferImageCopy2. Unsafe version of | |
| npRegions | back to summary |
|---|---|
| public static void npRegions(long struct, VkBufferImageCopy2. 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 VkCopyImageToBufferInfo2 pNext(long value) Sets the specified value to the | |
| pRegions | back to summary |
|---|---|
| public VkBufferImageCopy2. a pointer to an array of
| |
| pRegions | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2 pRegions(VkBufferImageCopy2. Sets the address of the specified | |
| regionCount | back to summary |
|---|---|
| public int regionCount() the number of regions to copy.
| |
| set | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2 set(int sType, long pNext, long srcImage, int srcImageLayout, long dstBuffer, VkBufferImageCopy2. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2 set(VkCopyImageToBufferInfo2 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 VkCopyImageToBufferInfo2 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 copy.
| |
| srcImageLayout | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2 srcImageLayout(int value) Sets the specified value to the | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2 sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2 sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkCopyImageToBufferInfo2 structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkCopyImageToBufferInfo2 |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkCopyImageToBufferInfo2. | |
| protected VkCopyImageToBufferInfo2 | |
| public long | |
| public VkCopyImageToBufferInfo2. | |
| public VkBufferImageCopy2. | Returns: aVkBufferImageCopy2. view of the struct array pointed to by the VkCopyImageToBufferInfo2#pRegions field.
|
| public VkCopyImageToBufferInfo2. | pRegions(VkBufferImageCopy2.
Sets the address of the specified |
| public int | |
| protected VkCopyImageToBufferInfo2. | |
| public long | |
| public VkCopyImageToBufferInfo2. | |
| public int | |
| public VkCopyImageToBufferInfo2. | srcImageLayout(int value)
Sets the specified value to the |
| public int | |
| public VkCopyImageToBufferInfo2. | |
| public VkCopyImageToBufferInfo2. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkCopyImageToBufferInfo2 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) | |
| dstBuffer | back to summary |
|---|---|
public long dstBuffer()
| |
| dstBuffer | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkCopyImageToBufferInfo2 getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2. Sets the specified value to the | |
| pRegions | back to summary |
|---|---|
public VkBufferImageCopy2.
| |
| pRegions | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2. Sets the address of the specified | |
| regionCount | back to summary |
|---|---|
public int regionCount()
| |
| self | back to summary |
|---|---|
| protected VkCopyImageToBufferInfo2. Implements abstract org.
| |
| srcImage | back to summary |
|---|---|
public long srcImage()
| |
| srcImage | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2. Sets the specified value to the | |
| srcImageLayout | back to summary |
|---|---|
public int srcImageLayout()
| |
| srcImageLayout | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkCopyImageToBufferInfo2. Sets the | |