MCPcopy Create free account
hub / github.com/NVIDIA-RTX/NRI / DestroyAccelerationStructure

Function DestroyAccelerationStructure

Source/Validation/ImplVal.cpp:957–962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955}
956
957static void NRI_CALL DestroyAccelerationStructure(AccelerationStructure& accelerationStructure) {
958 if (!(&accelerationStructure))
959 return;
960
961 GetDeviceVal(accelerationStructure).DestroyAccelerationStructure(accelerationStructure);
962}
963
964static Result NRI_CALL WriteShaderGroupIdentifiers(const Pipeline& pipeline, uint32_t baseShaderGroupIndex, uint32_t shaderGroupNum, void* buffer) {
965 return ((PipelineVal&)pipeline).WriteShaderGroupIdentifiers(baseShaderGroupIndex, shaderGroupNum, buffer);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected