docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RTHandleStaticHelpers

    This struct contains some static helpers that can be used when converting RTid to RThandle The common use case is to convert rtId to rtHandle and use the handle with other handle compatible core APIs

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public struct RTHandleStaticHelpers

    Fields

    s_RTHandleWrapper

    Static RTHandle wrapper around RenderTargetIdentifier to avoid gc.alloc Set this wrapper through RTHandleStaticHelpers.SetRTHandleStaticWrapper

    Declaration
    public static RTHandle s_RTHandleWrapper
    Field Value
    Type Description
    RTHandle

    Methods

    SetRTHandleStaticWrapper(RenderTargetIdentifier)

    Set static RTHandle wrapper given a RTid. The static RTHandle wrapper is treated as external handle in RTHandleSystem Get the static wrapper through RTHandleStaticHelpers.s_RTHandleWrapper.

    Declaration
    public static void SetRTHandleStaticWrapper(RenderTargetIdentifier rtId)
    Parameters
    Type Name Description
    RenderTargetIdentifier rtId

    Input render target identifier to be converted.

    SetRTHandleUserManagedWrapper(ref RTHandle, RenderTargetIdentifier)

    Set user managed RTHandle wrapper given a RTid. The wrapper is treated as external handle in RTHandleSystem

    Declaration
    public static void SetRTHandleUserManagedWrapper(ref RTHandle rtWrapper, RenderTargetIdentifier rtId)
    Parameters
    Type Name Description
    RTHandle rtWrapper

    User managed RTHandle wrapper.

    RenderTargetIdentifier rtId

    Input render target identifier to be set.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)