pub type PFN_vkCreateAccelerationStructureKHR = Option<unsafe extern "system" fn(device: Device, p_create_info: *const AccelerationStructureCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureKHR) -> Result>;Expand description
vkCreateAccelerationStructureKHR
Provided by VK_KHR_acceleration_structure.
§Success Codes
VK_SUCCESS
§Error Codes
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHRVK_ERROR_UNKNOWNVK_ERROR_VALIDATION_FAILED
Aliased Type§
pub enum PFN_vkCreateAccelerationStructureKHR {
None,
Some(unsafe extern "system" fn(Device, *const AccelerationStructureCreateInfoKHR, *const AllocationCallbacks, *mut AccelerationStructureKHR) -> Result),
}Variants§
None
No value.
Some(unsafe extern "system" fn(Device, *const AccelerationStructureCreateInfoKHR, *const AllocationCallbacks, *mut AccelerationStructureKHR) -> Result)
Some value of type T.