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;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structureimageCreateInfois the VkImageCreateInfo used to create a VkImage that is to use memory from the VkBufferCollectionFUCHSIArequiredFormatFeaturesis a bitmask ofVkFormatFeatureFlagBitsspecifying required features of the buffers in the buffer collectionflagsis reserved for future usesysmemPixelFormatis aPixelFormatTypevalue from thefuchsia.sysmem/image_formats.fidlFIDL interfacecolorSpaceCountthe element count ofpColorSpacespColorSpacesis 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