C Specification
Data describing a VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER
,
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
,
VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
, or
VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
descriptor is passed in a
VkDescriptorAddressInfoEXT
structure:
// Provided by VK_EXT_descriptor_buffer
typedef struct VkDescriptorAddressInfoEXT {
VkStructureType sType;
void* pNext;
VkDeviceAddress address;
VkDeviceSize range;
VkFormat format;
} VkDescriptorAddressInfoEXT;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
address
is either0
or a device address at an offset in a buffer, where the base address can be queried from vkGetBufferDeviceAddress. -
range
is the size in bytes of the buffer or buffer view used by the descriptor. -
format
is the format of the data elements in the buffer view and is ignored for buffers.
Description
If the nullDescriptor
feature is enabled,
address
can be zero.
Loads from a null descriptor return zero values and stores and atomics to a
null descriptor are discarded.
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.