VkDeviceAddressRangeKHR(3)

Name

VkDeviceAddressRangeKHR - Structure specifying a device address range

C Specification

A device address range indicates a sized range of device memory.

// Provided by VK_KHR_device_address_commands
typedef struct VkDeviceAddressRangeKHR {
    VkDeviceAddress    address;
    VkDeviceSize       size;
} VkDeviceAddressRangeKHR;
// Provided by VK_EXT_descriptor_heap
// Equivalent to VkDeviceAddressRangeKHR
typedef VkDeviceAddressRangeKHR VkDeviceAddressRangeEXT;

Members

  • address is 0 or a VkDeviceAddress specifying the start of the range.

  • size is a VkDeviceSize specifying the size of the range.

Description

Valid Usage
  • VUID-VkDeviceAddressRangeKHR-size-11411
    If size is not 0, address must not be 0

  • VUID-VkDeviceAddressRangeKHR-address-11365
    The sum of address and size must be less than or equal to the sum of an address retrieved from a VkBuffer and the value of VkBufferCreateInfo::size used to create that VkBuffer

Valid Usage (Implicit)
  • VUID-VkDeviceAddressRangeKHR-address-parameter
    If address is not 0, address must be a valid VkDeviceAddress value

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.