Function Prototype
vkSetBufferCollectionBufferConstraintsFUCHSIA
Set buffer-based constraints for a buffer collection
To set the constraints on a VkBuffer buffer collection, call:
VkResult vkSetBufferCollectionBufferConstraintsFUCHSIA(
VkDevice device,
VkBufferCollectionFUCHSIA collection,
const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo);
deviceis the logical devicecollectionis the VkBufferCollectionFUCHSIA handlepBufferConstraintsInfois a pointer to a VkBufferConstraintsInfoFUCHSIA structure
vkSetBufferCollectionBufferConstraintsFUCHSIA may fail if the
implementation does not support the constraints specified in the
bufferCollectionConstraints structure.
If that occurs, vkSetBufferCollectionBufferConstraintsFUCHSIA will
return VK_ERROR_FORMAT_NOT_SUPPORTED.
Valid Usage
VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-collection-06403
vkSetBufferCollectionImageConstraintsFUCHSIA or
vkSetBufferCollectionBufferConstraintsFUCHSIA must not have
already been called on collection
Valid Usage (Implicit)
VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-device-parameter
device must be a valid VkDevice handle
VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-collection-parameter
collection must be a valid VkBufferCollectionFUCHSIA handle
VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-pBufferConstraintsInfo-parameter
pBufferConstraintsInfo must be a valid pointer to a valid VkBufferConstraintsInfoFUCHSIA structure
VUID-vkSetBufferCollectionBufferConstraintsFUCHSIA-collection-parent
collection must have been created, allocated, or retrieved from device