Class RenderTextureCollection | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class RenderTextureCollection

    Inheritance
    System.Object
    RenderTextureCollection
    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public class RenderTextureCollection

    Constructors

    RenderTextureCollection()

    Declaration
    public RenderTextureCollection()

    Fields

    debugSize

    Declaration
    public float debugSize
    Field Value
    Type Description
    System.Single

    Properties

    Item[Int32]

    Declaration
    public RenderTexture this[int hash] { get; set; }
    Parameters
    Type Name Description
    System.Int32 hash
    Property Value
    Type Description
    RenderTexture

    Item[String]

    Declaration
    public RenderTexture this[string name] { get; set; }
    Parameters
    Type Name Description
    System.String name
    Property Value
    Type Description
    RenderTexture

    Methods

    AddRenderTexture(Int32, String, GraphicsFormat)

    Declaration
    public void AddRenderTexture(int hash, string name, GraphicsFormat format)
    Parameters
    Type Name Description
    System.Int32 hash
    System.String name
    GraphicsFormat format

    ContainsRenderTexture(String)

    Declaration
    public bool ContainsRenderTexture(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Boolean

    DebugGUI(SceneView)

    Declaration
    public void DebugGUI(SceneView s)
    Parameters
    Type Name Description
    SceneView s

    GatherRenderTextures(Int32, Int32, Int32)

    Declaration
    public void GatherRenderTextures(int width, int height, int depth = 0)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    System.Int32 depth

    GetRenderTexture(Int32)

    Declaration
    public RenderTexture GetRenderTexture(int hash)
    Parameters
    Type Name Description
    System.Int32 hash
    Returns
    Type Description
    RenderTexture

    ReleaseRenderTextures()

    Declaration
    public void ReleaseRenderTextures()
    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