Structures
VkWriteDescriptorSetAccelerationStructureNV
Structure specifying acceleration structure descriptor information
The VkWriteDescriptorSetAccelerationStructureNV
structure is defined
as:
typedef struct VkWriteDescriptorSetAccelerationStructureNV {
VkStructureType sType;
const void* pNext;
uint32_t accelerationStructureCount;
const VkAccelerationStructureNV* pAccelerationStructures;
} VkWriteDescriptorSetAccelerationStructureNV;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.accelerationStructureCount
is the number of elements inpAccelerationStructures
.pAccelerationStructures
is a pointer to an array of VkAccelerationStructureNV structures specifying the acceleration structures to update.
Valid Usage
VUID-VkWriteDescriptorSetAccelerationStructureNV-accelerationStructureCount-03747
accelerationStructureCount
must be equal to descriptorCount
in the extended structure
VUID-VkWriteDescriptorSetAccelerationStructureNV-pAccelerationStructures-03748
Each acceleration structure in pAccelerationStructures
must have
been created with VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR
VUID-VkWriteDescriptorSetAccelerationStructureNV-pAccelerationStructures-03749
If the nullDescriptor
feature is not
enabled, each member of pAccelerationStructures
must not be
VK_NULL_HANDLE
Valid Usage (Implicit)
VUID-VkWriteDescriptorSetAccelerationStructureNV-sType-sType
sType
must be VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV
VUID-VkWriteDescriptorSetAccelerationStructureNV-pAccelerationStructures-parameter
pAccelerationStructures
must be a valid pointer to an array of accelerationStructureCount
valid or VK_NULL_HANDLE VkAccelerationStructureNV handles
VUID-VkWriteDescriptorSetAccelerationStructureNV-accelerationStructureCount-arraylength
accelerationStructureCount
must be greater than 0