Experimental: this API is experimental and might be changed or removed in the future.

RayTracingAccelerationStructure.ClearInstances

Declaration

public void ClearInstances();

Description

Removes all ray tracing instances from the acceleration structure.

Note that in order to reflect this action on the GPU, building the acceleration structure has to be triggered by calling RayTracingAccelerationStructure.Build or CommandBuffer.BuildRayTracingAccelerationStructure.

Additional resources: RayTracingAccelerationStructure.AddInstance.


Did you find this page useful? Please give it a rating: