Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ClearInstances()

Removes all ray tracing instances from the RayTracingAccelerationStructure.
Read time 1 minuteLast updated 8 days ago

Definition

public void ClearInstances()

Remarks

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.