VkBufferCollectionPropertiesFUCHSIA
The VkBufferCollectionPropertiesFUCHSIA structure is defined as:
typedef struct VkBufferCollectionPropertiesFUCHSIA {
VkStructureType sType;
void* pNext;
uint32_t memoryTypeBits;
uint32_t bufferCount;
uint32_t createInfoIndex;
uint64_t sysmemPixelFormat;
VkFormatFeatureFlags formatFeatures;
VkSysmemColorSpaceFUCHSIA sysmemColorSpaceIndex;
VkComponentMapping samplerYcbcrConversionComponents;
VkSamplerYcbcrModelConversion suggestedYcbcrModel;
VkSamplerYcbcrRange suggestedYcbcrRange;
VkChromaLocation suggestedXChromaOffset;
VkChromaLocation suggestedYChromaOffset;
} VkBufferCollectionPropertiesFUCHSIA;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structurememoryTypeBitsis a bitmask containing one bit set for every memory type which the buffer collection can be imported as buffer collectionbufferCountis the number of buffers in the collectioncreateInfoIndexas described in Sysmem chosen create infossysmemPixelFormatis the SysmemPixelFormatTypeas defined infuchsia.sysmem/image_formats.fidlformatFeaturesis a bitmask of VkFormatFeatureFlagBits shared by the buffer collectionsysmemColorSpaceIndexis a VkSysmemColorSpaceFUCHSIA struct specifying the color spacesamplerYcbcrConversionComponentsis a VkComponentMapping structure specifying the component mappingsuggestedYcbcrModelis a VkSamplerYcbcrModelConversion value specifying the suggested Y′CBCR modelsuggestedYcbcrRangeis a VkSamplerYcbcrRange value specifying the suggested Y′CBCR rangesuggestedXChromaOffsetis a VkChromaLocation value specifying the suggested X chroma offsetsuggestedYChromaOffsetis a VkChromaLocation value specifying the suggested Y chroma offset
sysmemColorSpace is only set for image-based buffer collections where
the constraints were specified using VkImageConstraintsInfoFUCHSIA in
a call to vkSetBufferCollectionImageConstraintsFUCHSIA.
For image-based buffer collections, createInfoIndex will identify both
the VkImageConstraintsInfoFUCHSIA::pImageCreateInfos element and
the VkImageConstraintsInfoFUCHSIA::pFormatConstraints element
chosen by Sysmem when vkSetBufferCollectionImageConstraintsFUCHSIA was
called.
The value of sysmemColorSpaceIndex will be an index to one of the
color spaces provided in the
VkImageFormatConstraintsInfoFUCHSIA::pColorSpaces array.
The implementation must have formatFeatures with all bits set that
were set in
VkImageFormatConstraintsInfoFUCHSIA::requiredFormatFeatures, by
the call to vkSetBufferCollectionImageConstraintsFUCHSIA, at
createInfoIndex (other bits could be set as well).
Valid Usage (Implicit)
VUID-VkBufferCollectionPropertiesFUCHSIA-sType-sType
sType must be VK_STRUCTURE_TYPE_BUFFER_COLLECTION_PROPERTIES_FUCHSIA
VUID-VkBufferCollectionPropertiesFUCHSIA-pNext-pNext
pNext must be NULL