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;
pub struct BufferDeviceAddressInfo {
s_type: vk::StructureType,
p_next: *const c_void,
buffer: vk::Buffer,
}
typedef VkBufferDeviceAddressInfo VkBufferDeviceAddressInfoKHR;
type BufferDeviceAddressInfoKHR = vk::BufferDeviceAddressInfo;
typedef VkBufferDeviceAddressInfo VkBufferDeviceAddressInfoEXT;
type BufferDeviceAddressInfoEXT = vk::BufferDeviceAddressInfo;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.bufferspecifies 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
VUID-VkBufferDeviceAddressInfo-pNext-pNext
pNext must be NULL
VUID-VkBufferDeviceAddressInfo-buffer-parameter
buffer must be a valid VkBuffer handle
Parent
VK_VERSION_1_2Type
Structures