Version: 2023.2
言語: 日本語
public void ClearInstances ();

説明

Removes all ray tracing instances from the RayTracingAccelerationStructure.

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.