Struct RayTracingAccelerationStructureHandle
RayTracingAccelerationStructure resource handle.
Inherited Members
Namespace: UnityEngine.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[MovedFrom(true, "UnityEngine.Experimental.Rendering.RenderGraphModule", "UnityEngine.Rendering.RenderGraphModule", null)]
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. |