Vulkan-Docs/chapters/VK_NV_ray_tracing/raytracing-descriptors.txt

25 lines
1020 B
Plaintext

// This section is included inside the Resource Descriptors chapter (descriptorsets.txt)
[open,refpage='VkWriteDescriptorSetAccelerationStructureNV',desc='Structure specifying acceleration to query for memory requirements',type='structs']
--
The sname:VkWriteDescriptorSetAccelerationStructureNV structure is defined
as:
include::{generated}/api/structs/VkWriteDescriptorSetAccelerationStructureNV.txt[]
* pname:sType is the type of this structure.
* pname:pNext is `NULL` or a pointer to an extension-specific structure.
* pname:accelerationStructureCount is the number of elements in
pname:pAccelerationStructures.
* pname:pAccelerationStructures are the acceleration structures to update.
.Valid Usage
****
* [[VUID-VkWriteDescriptorSetAccelerationStructureNV-accelerationStructureCount-02236]]
pname:accelerationStructureCount must: be equal to pname:descriptorCount
in the extended structure
****
include::{generated}/validity/structs/VkWriteDescriptorSetAccelerationStructureNV.txt[]
--