If the VkPhysicalDeviceHostImageCopyPropertiesEXT structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
If pCopyDstLayouts is NULL, then the number of image layouts that are supported in VkCopyMemoryToImageInfoEXT::dstImageLayout and VkCopyImageToImageInfoEXT::dstImageLayout is returned in copyDstLayoutCount. Otherwise, copyDstLayoutCount must be set by the user to the number of elements in the pCopyDstLayouts array, and on return the variable is overwritten with the number of values actually written to pCopyDstLayouts. If the value of copyDstLayoutCount is less than the number of image layouts that are supported, at most copyDstLayoutCount values will be written to pCopyDstLayouts. The implementation must include the IMAGE_LAYOUT_GENERAL image layout in pCopyDstLayouts.
If pCopySrcLayouts is NULL, then the number of image layouts that are supported in VkCopyImageToMemoryInfoEXT::srcImageLayout and VkCopyImageToImageInfoEXT::srcImageLayout is returned in copySrcLayoutCount. Otherwise, copySrcLayoutCount must be set by the user to the number of elements in the pCopySrcLayouts array, and on return the variable is overwritten with the number of values actually written to pCopySrcLayouts. If the value of copySrcLayoutCount is less than the number of image layouts that are supported, at most copySrcLayoutCount values will be written to pCopySrcLayouts. The implementation must include the IMAGE_LAYOUT_GENERAL image layout in pCopySrcLayouts.
The optimalTilingLayoutUUID value can be used to ensure compatible data layouts when using the HOST_IMAGE_COPY_MEMCPY_EXT flag in CopyMemoryToImageEXT and CopyImageToMemoryEXT.
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES_EXTcopySrcLayoutCount is not 0, and pCopySrcLayouts is not NULL, pCopySrcLayouts must be a valid pointer to an array of copySrcLayoutCount VkImageLayout valuescopyDstLayoutCount is not 0, and pCopyDstLayouts is not NULL, pCopyDstLayouts must be a valid pointer to an array of copyDstLayoutCount VkImageLayout values
struct VkPhysicalDeviceHostImageCopyPropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t copySrcLayoutCount;
VkImageLayout * pCopySrcLayouts;
uint32_t copyDstLayoutCount;
VkImageLayout * pCopyDstLayouts;
uint8_t optimalTilingLayoutUUID[VK_UUID_SIZE];
VkBool32 identicalMemoryTypeRequirements;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COPYDSTLAYOUTCOUNT
The struct member offsets. |
| public static final int | COPYSRCLAYOUTCOUNT
The struct member offsets. |
| public static final int | IDENTICALMEMORYTYPEREQUIREMENTS
The struct member offsets. |
| public static final int | OPTIMALTILINGLAYOUTUUID
The struct member offsets. |
| public static final int | PCOPYDSTLAYOUTS
The struct member offsets. |
| public static final int | PCOPYSRCLAYOUTS
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 | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceHostImageCopyPropertiesEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT | |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | copyDstLayoutCount()
an integer related to the number of image layouts for host copies to images available or queried, as described below. |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | |
| public int | copySrcLayoutCount()
an integer related to the number of image layouts for host copies from images available or queried, as described below. |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | |
| protected VkPhysicalDeviceHostImageCopyPropertiesEXT | 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 VkPhysicalDeviceHostImageCopyPropertiesEXT | create()
Returns a new |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT | create(long address)
Returns a new |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT | |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT. | |
| public boolean | identicalMemoryTypeRequirements()
indicates that specifying the |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | identicalMemoryTypeRequirements(boolean value)
Sets the specified value to the |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT | |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceHostImageCopyPropertiesEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | ncopyDstLayoutCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | ncopySrcLayoutCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | nidenticalMemoryTypeRequirements(long struct, int value)
Unsafe version of |
| public static ByteBuffer | |
| public static byte | |
| public static void | |
| public static void | noptimalTilingLayoutUUID(long struct, int index, byte value)
Unsafe version of |
| public static IntBuffer | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public ByteBuffer | optimalTilingLayoutUUID()
an array of |
| public byte | optimalTilingLayoutUUID(int index)
an array of |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | optimalTilingLayoutUUID(ByteBuffer value)
Copies the specified |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | optimalTilingLayoutUUID(int index, byte value)
Sets the specified value at the specified index of the |
| public IntBuffer | pCopyDstLayouts()
a pointer to an array of |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | pCopyDstLayouts(IntBuffer value)
Sets the address of the specified |
| public IntBuffer | pCopySrcLayouts()
a pointer to an array of |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | pCopySrcLayouts(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | set(int sType, long pNext, int copySrcLayoutCount, IntBuffer pCopySrcLayouts, int copyDstLayoutCount, IntBuffer pCopyDstLayouts, ByteBuffer optimalTilingLayoutUUID, boolean identicalMemoryTypeRequirements)
Initializes this struct with the specified values. |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | |
| public VkPhysicalDeviceHostImageCopyPropertiesEXT | sType$Default()
Sets the |