docs.unity.cn
    Show / Hide Table of Contents

    Struct RayTracingAccelerationStructureHandle

    RayTracingAccelerationStructure resource handle.

    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public struct RayTracingAccelerationStructureHandle

    Properties

    nullHandle

    Returns a null ray tracing acceleration structure handle

    Declaration
    public static readonly 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
    System.Boolean

    True if the handle is valid.

    Operators

    Implicit(RayTracingAccelerationStructureHandle to RayTracingAccelerationStructure)

    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.

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023