A data structure used to represent the geometry in the Scene for GPU ray tracing.
See Also: CommandBuffer.SetRayTracingAccelerationStructure, RayTracingShader.SetAccelerationStructure.
RayTracingAccelerationStructure | Creates a RayTracingAccelerationStructure with the given RayTracingAccelerationStructure.Settings. |
AddInstance | Adds a ray tracing instance to the RayTracingAccelerationStructure. |
AddInstances | Adds an array of ray tracing Mesh instances to the RayTracingAccelerationStructure. |
AddVFXInstances | Adds the ray tracing instances associated with a VFXRenderer to the RayTracingAccelerationStructure. |
Build | Builds acceleration structures on the GPU. Allocates any GPU memory required for storing acceleration structure data. |
ClearInstances | Removes all ray tracing instances from the RayTracingAccelerationStructure. |
CullInstances | Populates the RayTracingAccelerationStructure with ray tracing instances that Unity associates with Renderers in the Scene by using filtering and culling parameters. |
Dispose | Destroys this RayTracingAccelerationStructure and frees the GPU memory used for storing acceleration structure data. |
GetInstanceCount | Returns the number of ray tracing instances in the RayTracingAccelerationStructure. |
GetSize | Returns the total size of this RayTracingAccelerationStructure in GPU memory in bytes. |
Release | Destroys this RayTracingAccelerationStructure and frees the GPU memory used for storing acceleration structure data. |
RemoveInstance | Removes a ray tracing instance associated with a Renderer from this RayTracingAccelerationStructure. |
RemoveVFXInstances | Remove the ray tracing instances associated with a VFXRenderer from the RayTracingAccelerationStructure. |
UpdateInstanceID | Updates the instance ID of a ray tracing instance. |
UpdateInstanceMask | Updates the instance mask of a ray tracing instance. |
UpdateInstancePropertyBlock | Updates per ray tracing instance Material properties. |
UpdateInstanceTransform | Updates the transformation of a ray tracing instance. |