Class TextureUtils
Syntax
public static class TextureUtils
Methods
Create(Object)
Creates a texture that will remain in memory even after a scene is unloaded.
Declaration
public static Texture2D Create(object context = null)
Parameters
Type |
Name |
Description |
Object |
context |
|
Returns
SafeDestroy(RenderTexture)
Declaration
public static void SafeDestroy(this RenderTexture texture)
Parameters
ToTexture2D(RenderTexture)
Declaration
public static Texture2D ToTexture2D(this RenderTexture rTex)
Parameters
Returns