docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator RenderTargetIdentifier(RTHandle)

    Implicit conversion operator to RenderTargetIdentifier

    Declaration
    public static implicit operator RenderTargetIdentifier(RTHandle handle)
    Parameters
    Type Name Description
    RTHandle handle

    Input RTHandle

    Returns
    Type Description
    RenderTargetIdentifier

    RenderTargetIdentifier representation of the RTHandle.

    implicit operator Texture(RTHandle)

    Implicit conversion operator to Texture

    Declaration
    public static implicit operator Texture(RTHandle handle)
    Parameters
    Type Name Description
    RTHandle handle

    Input RTHandle

    Returns
    Type Description
    Texture

    Texture representation of the RTHandle.

    implicit operator RenderTexture(RTHandle)

    Implicit conversion operator to RenderTexture

    Declaration
    public static implicit operator RenderTexture(RTHandle handle)
    Parameters
    Type Name Description
    RTHandle handle

    Input RTHandle

    Returns
    Type Description
    RenderTexture

    RenderTexture representation of the RTHandle.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)