C Specification
The VkPhysicalDeviceSparseImageFormatInfo2 structure is defined as:
// Provided by VK_VERSION_1_1
typedef struct VkPhysicalDeviceSparseImageFormatInfo2 {
VkStructureType sType;
const void* pNext;
VkFormat format;
VkImageType type;
VkSampleCountFlagBits samples;
VkImageUsageFlags usage;
VkImageTiling tiling;
} VkPhysicalDeviceSparseImageFormatInfo2;
// Provided by VK_KHR_get_physical_device_properties2
// Equivalent to VkPhysicalDeviceSparseImageFormatInfo2
typedef VkPhysicalDeviceSparseImageFormatInfo2 VkPhysicalDeviceSparseImageFormatInfo2KHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
formatis the image format. -
typeis the dimensionality of the image. -
samplesis a VkSampleCountFlagBits value specifying the number of samples per texel. -
usageis a bitmask of VkImageUsageFlagBits describing the intended usage of the image. -
tilingis the tiling arrangement of the texel blocks in memory.
Description
Only usage flags representable in VkImageUsageFlagBits are returned in
usage.
If the pNext chain includes a VkImageUsageFlags2CreateInfoKHR
structure, all usage flags are returned in
VkImageUsageFlags2CreateInfoKHR::usage.
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.