Structures

VkPhysicalDeviceExternalBufferInfo

Structure specifying buffer creation parameters

The VkPhysicalDeviceExternalBufferInfo structure is defined as:

typedef struct VkPhysicalDeviceExternalBufferInfo {
    VkStructureType sType;
    const void* pNext;
    VkBufferCreateFlags flags;
    VkBufferUsageFlags usage;
    VkExternalMemoryHandleTypeFlagBits handleType;
} VkPhysicalDeviceExternalBufferInfo;

or the equivalent

typedef VkPhysicalDeviceExternalBufferInfo VkPhysicalDeviceExternalBufferInfoKHR;

Only usage flags representable in VkBufferUsageFlagBits are returned in this structure’s usage. If the pNext chain includes a VkBufferUsageFlags2CreateInfoKHR structure, all usage flags of the buffer are returned in VkBufferUsageFlags2CreateInfoKHR::usage.

Valid Usage

VUID-VkPhysicalDeviceExternalBufferInfo-None-09499

If the pNext chain does not include a VkBufferUsageFlags2CreateInfoKHR structure, usage must be a valid combination of VkBufferUsageFlagBits values

VUID-VkPhysicalDeviceExternalBufferInfo-None-09500

If the pNext chain does not include a VkBufferUsageFlags2CreateInfoKHR structure, usage must not be 0

Valid Usage (Implicit)

VUID-VkPhysicalDeviceExternalBufferInfo-sType-sType

sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO

VUID-VkPhysicalDeviceExternalBufferInfo-sType-unique

The sType value of each struct in the pNext chain must be unique