Class RenderTextureCollection | Package Manager UI website
docs.unity.cn
    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; }
    Parameters
    Type Name Description
    System.Int32 hash
    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

    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 © 2019 Unity Technologies
    Generated by DocFX