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

    Struct ActiveRenderTextureScope

    Provides methods for changing and restoring active RenderTextures.

    Namespace: UnityEditor.TerrainTools
    Syntax
    public struct ActiveRenderTextureScope : IDisposable

    Constructors

    ActiveRenderTextureScope(RenderTexture)

    Initializes and returns an instance of ActiveRenderTextureScope.

    Declaration
    public ActiveRenderTextureScope(RenderTexture rt)
    Parameters
    Type Name Description
    RenderTexture rt

    The RenderTexture to set as active.

    Remarks

    Call this constructor to swap the previous active RenderTexture with the RenderTexture that is passed in.

    Methods

    Dispose()

    Restores the previous RenderTexture.

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