docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RTHandle.RTHandleScope

    Represents a struct for handling the lifetime of an RTHandle within a using block.

    Implements
    IDisposable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.TerrainTools
    Assembly: Unity.TerrainTools.Editor.dll
    Syntax
    public struct RTHandle.RTHandleScope : IDisposable
    Remarks

    Releases the RenderTexture when this struct is disposed.

    Methods

    Dispose()

    Releases the handled RenderTexture.

    Declaration
    public void Dispose()

    Implements

    IDisposable
    In This Article
    Back to top
    Copyright © 2025 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)