C Specification
To set the constraints on a VkBuffer buffer collection, call:
// Provided by VK_FUCHSIA_buffer_collection
VkResult vkSetBufferCollectionBufferConstraintsFUCHSIA(
VkDevice device,
VkBufferCollectionFUCHSIA collection,
const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo);
Parameters
-
device
is the logical device -
collection
is the VkBufferCollectionFUCHSIA handle -
pBufferConstraintsInfo
is a pointer to a VkBufferConstraintsInfoFUCHSIA structure
Description
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
.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.