API ReferenceSandbox
RayTracingAccelerationStructureclass
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.
object→RayTracingAccelerationStructure
Methods4
Showing 4 methods
public static Sandbox.RayTracingAccelerationStructure Create(object geometryData)
Create a ray tracing acceleration structure from scene geometry.
| Parameter | Type | Description |
|---|---|---|
| geometryData | object | The geometry data to build the acceleration structure from. |
public void Dispose()
Releases the native resources associated with this acceleration structure.
Returns:
void—public bool IsValid()
Gets whether this acceleration structure is valid and can be used for ray tracing.
Returns:
bool—public void Update(object geometryData)
Updates the acceleration structure with new geometry data. This is more efficient than rebuilding from scratch for dynamic geometry.
| Parameter | Type | Description |
|---|---|---|
| geometryData | object | The updated geometry data. |
Returns:
void—No results match this filter.