API ReferenceSandbox
public class Sandbox.RayTracingAccelerationStructure
Represents a ray tracing acceleration structure that contains geometry for efficient ray intersection testing. This is used to organize scene geometry in a hierarchical structure optimized for ray tracing performance.
Methods
Showing 4 methods
public static Sandbox.RayTracingAccelerationStructure Create(object geometryData)
Create a ray tracing acceleration structure from scene geometry.
Parameters
geometryData: The geometry data to build the acceleration structure from.
Returns
A new acceleration structure, or null if creation failed.
public void Dispose()
Releases the native resources associated with this acceleration structure.
public bool IsValid()
Gets whether this acceleration structure is valid and can be used for ray tracing.
public void Update(object geometryData)
Updates the acceleration structure with new geometry data. This is more efficient than rebuilding from scratch for dynamic geometry.
Parameters
geometryData: The updated geometry data.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.RayTracingAccelerationStructure |