class in UnityEngine.Rendering
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseA 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. |