Structures
VkBufferUsageFlags2CreateInfo
Extended buffer usage flags
The VkBufferUsageFlags2CreateInfo structure is defined as:
typedef struct VkBufferUsageFlags2CreateInfo {
VkStructureType sType;
const void* pNext;
VkBufferUsageFlags2 usage;
} VkBufferUsageFlags2CreateInfo;
or the equivalent
typedef VkBufferUsageFlags2CreateInfo VkBufferUsageFlags2CreateInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.usageis a bitmask of VkBufferUsageFlagBits2 specifying allowed usages of the buffer.
If this structure is included in the pNext chain of a buffer creation
structure, usage is used instead of the corresponding usage
value passed in that creation structure, allowing additional usage flags to
be specified.
If this structure is included in the pNext chain of a buffer query
structure, the usage flags of the buffer are returned in usage of this
structure, and the usage flags representable in usage of the buffer
query structure are also returned in that field.
Valid Usage (Implicit)
VUID-VkBufferUsageFlags2CreateInfo-sType-sType
sType must be VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO
VUID-VkBufferUsageFlags2CreateInfo-usage-parameter
usage must be a valid combination of VkBufferUsageFlagBits2 values
VUID-VkBufferUsageFlags2CreateInfo-usage-requiredbitmask
usage must not be 0