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);

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