Structures
VkImageFormatConstraintsInfoFUCHSIA
Structure image-based buffer collection constraints
The VkImageFormatConstraintsInfoFUCHSIA
structure is defined as:
typedef struct VkImageFormatConstraintsInfoFUCHSIA {
VkStructureType sType;
const void* pNext;
VkImageCreateInfo imageCreateInfo;
VkFormatFeatureFlags requiredFormatFeatures;
VkImageFormatConstraintsFlagsFUCHSIA flags;
uint64_t sysmemPixelFormat;
uint32_t colorSpaceCount;
const VkSysmemColorSpaceFUCHSIA* pColorSpaces;
} VkImageFormatConstraintsInfoFUCHSIA;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structureimageCreateInfo
is the VkImageCreateInfo used to create a VkImage that is to use memory from the VkBufferCollectionFUCHSIArequiredFormatFeatures
is a bitmask ofVkFormatFeatureFlagBits
specifying required features of the buffers in the buffer collectionflags
is reserved for future usesysmemPixelFormat
is aPixelFormatType
value from thefuchsia.sysmem/image_formats.fidl
FIDL interfacecolorSpaceCount
the element count ofpColorSpaces
pColorSpaces
is a pointer to an array of VkSysmemColorSpaceFUCHSIA structs of sizecolorSpaceCount
Valid Usage (Implicit)
VUID-VkImageFormatConstraintsInfoFUCHSIA-sType-sType
sType
must be VK_STRUCTURE_TYPE_IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA
VUID-VkImageFormatConstraintsInfoFUCHSIA-pNext-pNext
pNext
must be NULL
VUID-VkImageFormatConstraintsInfoFUCHSIA-imageCreateInfo-parameter
imageCreateInfo
must be a valid VkImageCreateInfo structure
VUID-VkImageFormatConstraintsInfoFUCHSIA-requiredFormatFeatures-parameter
requiredFormatFeatures
must be a valid combination of VkFormatFeatureFlagBits values
VUID-VkImageFormatConstraintsInfoFUCHSIA-requiredFormatFeatures-requiredbitmask
requiredFormatFeatures
must not be 0
VUID-VkImageFormatConstraintsInfoFUCHSIA-flags-zerobitmask
flags
must be 0
VUID-VkImageFormatConstraintsInfoFUCHSIA-pColorSpaces-parameter
pColorSpaces
must be a valid pointer to an array of colorSpaceCount
valid VkSysmemColorSpaceFUCHSIA structures
VUID-VkImageFormatConstraintsInfoFUCHSIA-colorSpaceCount-arraylength
colorSpaceCount
must be greater than 0