class in UnityEngine.Rendering
/
Implemented in:UnityEngine.CoreModule
Suggest a change Success!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.
Close Submission failedFor 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.
Close Your name Your email Suggestion* DescriptionA data structure used to represent the geometry in the Scene for GPU ray tracing.
Additional resources: CommandBuffer.SetRayTracingAccelerationStructure, RayTracingShader.SetAccelerationStructure.
Public Methods Method Description AddInstance Adds a ray tracing instance to the RayTracingAccelerationStructure. AddInstances Adds an array of ray tracing Mesh instances to the RayTracingAccelerationStructure. AddInstancesIndirect Adds an array of ray tracing instances to the RayTracingAccelerationStructure where the instance matrices are specified using a GraphicsBuffer. 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. RemoveInstances Removes ray tracing instances from the RayTracingAccelerationStructure using filtering based on layer and RayTracingMode. RemoveVFXInstances Removes the ray tracing instances associated with a VFXRenderer from the RayTracingAccelerationStructure. UpdateInstanceGeometry Marks the geometry of the ray tracing instance as dirty. 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.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4