Struct RayTracingAccelerationStructureHandle
RayTracingAccelerationStructure resource handle.
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct RayTracingAccelerationStructureHandle
Properties
nullHandle
Returns a null ray tracing acceleration structure handle
Declaration
public static RayTracingAccelerationStructureHandle nullHandle { get; }
Property Value
Type | Description |
---|---|
RayTracingAccelerationStructureHandle | A null ray tracing acceleration structure handle. |
Methods
IsValid()
Return true if the handle is valid.
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
bool | True if the handle is valid. |
Operators
implicit operator RayTracingAccelerationStructure(RayTracingAccelerationStructureHandle)
Cast to RayTracingAccelerationStructure
Declaration
public static implicit operator RayTracingAccelerationStructure(RayTracingAccelerationStructureHandle handle)
Parameters
Type | Name | Description |
---|---|---|
RayTracingAccelerationStructureHandle | handle | Input RayTracingAccelerationStructureHandle |
Returns
Type | Description |
---|---|
RayTracingAccelerationStructure | Resource as a RayTracingAccelerationStructure. |