Class RenderTextureCollection
Inheritance
System.Object
RenderTextureCollection
Syntax
public class RenderTextureCollection
Constructors
RenderTextureCollection()
Declaration
public RenderTextureCollection()
Fields
debugSize
Declaration
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()