Structures

VkBufferDeviceAddressInfo

Structure specifying the buffer to query an address for

The VkBufferDeviceAddressInfo structure is defined as:

typedef struct VkBufferDeviceAddressInfo {
    VkStructureType sType;
    const void* pNext;
    VkBuffer buffer;
} VkBufferDeviceAddressInfo;
typedef VkBufferDeviceAddressInfo VkBufferDeviceAddressInfoKHR;
typedef VkBufferDeviceAddressInfo VkBufferDeviceAddressInfoEXT;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • buffer specifies the buffer whose address is being queried.

Valid Usage

VUID-VkBufferDeviceAddressInfo-buffer-02601

buffer must have been created with the VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT usage flag set

Valid Usage (Implicit)

VUID-VkBufferDeviceAddressInfo-sType-sType

sType must be VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO