RayTracingAccelerationStructure.RemoveInstance

Declaration

public void RemoveInstance(Renderer targetRenderer);

Parameters

targetRenderer The Renderer associated with the ray tracing instance.

Description

Removes a ray tracing instance associated with a Renderer from this RayTracingAccelerationStructure.


Declaration

public void RemoveInstance(int handle);

Parameters

handle The handle associated with an AABB or Mesh ray tracing instance.

Description

Removes a ray tracing instance associated with an axis-aligned bounding box (AABBs) GraphicsBuffer or a Mesh instance from this RayTracingAccelerationStructure.


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