docs.unity3d.com
    目次を表示する/隠す

    Struct TextureHandle

    Texture resource handle.

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

    Properties

    nullHandle

    Returns a null texture handle

    Declaration
    public static readonly TextureHandle nullHandle { get; }
    Property Value
    Type Description
    TextureHandle

    A null texture handle.

    Methods

    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 RenderTargetIdentifier)

    Cast to RenderTargetIdentifier

    Declaration
    public static implicit operator RenderTargetIdentifier(TextureHandle texture)
    Parameters
    Type Name Description
    TextureHandle texture

    Input TextureHandle.

    Returns
    Type Description
    RenderTargetIdentifier

    Resource as a RenderTargetIdentifier.

    Implicit(TextureHandle to RenderTexture)

    Cast to RenderTexture

    Declaration
    public static implicit operator RenderTexture(TextureHandle texture)
    Parameters
    Type Name Description
    TextureHandle texture

    Input TextureHandle.

    Returns
    Type Description
    RenderTexture

    Resource as a RenderTexture.

    Implicit(TextureHandle to RTHandle)

    Cast to RTHandle

    Declaration
    public static implicit operator RTHandle(TextureHandle texture)
    Parameters
    Type Name Description
    TextureHandle texture

    Input TextureHandle.

    Returns
    Type Description
    RTHandle

    Resource as a RTHandle.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)