Function Prototype
vkBindAccelerationStructureMemoryNV
Bind acceleration structure memory
To attach memory to one or more acceleration structures at a time, call:
VkResult vkBindAccelerationStructureMemoryNV(
VkDevice device,
uint32_t bindInfoCount,
const VkBindAccelerationStructureMemoryInfoNV* pBindInfos);
pub fn bind_acceleration_structure_memory_nv(
device: vk::Device,
bind_info_count: u32,
p_bind_infos: *const vk::BindAccelerationStructureMemoryInfoNV,
) -> vk::Result;
deviceis the logical device that owns the acceleration structures and memory.bindInfoCountis the number of elements inpBindInfos.pBindInfosis a pointer to an array of VkBindAccelerationStructureMemoryInfoNV structures describing acceleration structures and memory to bind.
Valid Usage (Implicit)
VUID-vkBindAccelerationStructureMemoryNV-device-parameter
device must be a valid VkDevice handle
VUID-vkBindAccelerationStructureMemoryNV-pBindInfos-parameter
pBindInfos must be a valid pointer to an array of bindInfoCount valid VkBindAccelerationStructureMemoryInfoNV structures
VUID-vkBindAccelerationStructureMemoryNV-bindInfoCount-arraylength
bindInfoCount must be greater than 0
Parent
VK_NV_ray_tracingType
Function Prototype