## C Specification

The VkStridedDeviceAddressRegionKHR structure is defined as:

// Provided by VK_KHR_ray_tracing_pipeline
VkDeviceSize       stride;
VkDeviceSize       size;
} VkStridedDeviceAddressRegionKHR;

## Members

• deviceAddress is the device address (as returned by the vkGetBufferDeviceAddress command) at which the region starts, or zero if the region is unused.

• stride is the byte stride between consecutive elements.

• size is the size in bytes of the region starting at deviceAddress.

## Description

Valid Usage
If size is not zero, all addresses between deviceAddress and deviceAddress + size - 1 must be in the buffer device address range of the same buffer

If size is not zero, stride must be less than the size of the buffer from which deviceAddress was queried

VkDeviceAddress, VkDeviceSize, vkCmdTraceRaysIndirectKHR, vkCmdTraceRaysKHR