Struct TextureHandle | Core RP Library | 9.0.0-preview.77
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TextureHandle

    Texture resource handle.

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

    Methods

    Equals(Object)

    Equals Override.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    Other handle to test against.

    Returns
    Type Description
    Boolean

    True if both handle are equals.

    Overrides
    ValueType.Equals(Object)

    GetHashCode()

    GetHashCode override.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    IsValid()

    Return true if the handle is valid.

    Declaration
    public bool IsValid()
    Returns
    Type Description
    Boolean

    True if the handle is valid.

    Operators

    Implicit(TextureHandle to Int32)

    Conversion to int.

    Declaration
    public static implicit operator int (TextureHandle handle)
    Parameters
    Type Name Description
    TextureHandle handle

    Texture handle to convert.

    Returns
    Type Description
    Int32

    The integer representation of the handle.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023