Structures
VkAccelerationStructureMemoryRequirementsInfoNV
Structure specifying acceleration to query for memory requirements
The VkAccelerationStructureMemoryRequirementsInfoNV
structure is
defined as:
typedef struct VkAccelerationStructureMemoryRequirementsInfoNV {
VkStructureType sType;
const void* pNext;
VkAccelerationStructureMemoryRequirementsTypeNV type;
VkAccelerationStructureNV accelerationStructure;
} VkAccelerationStructureMemoryRequirementsInfoNV;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.type
selects the type of memory requirement being queried.VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV
returns the memory requirements for the object itself.VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV
returns the memory requirements for the scratch memory when doing a build.VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV
returns the memory requirements for the scratch memory when doing an update.accelerationStructure
is the acceleration structure to be queried for memory requirements.
Valid Usage (Implicit)
VUID-VkAccelerationStructureMemoryRequirementsInfoNV-sType-sType
sType
must be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV
VUID-VkAccelerationStructureMemoryRequirementsInfoNV-pNext-pNext
pNext
must be NULL
VUID-VkAccelerationStructureMemoryRequirementsInfoNV-type-parameter
type
must be a valid VkAccelerationStructureMemoryRequirementsTypeNV value
VUID-VkAccelerationStructureMemoryRequirementsInfoNV-accelerationStructure-parameter
accelerationStructure
must be a valid VkAccelerationStructureNV handle