Class TextureUtils
Inherited Members
Namespace: Unity.Muse.Common
Syntax
public static class TextureUtils
Methods
SafeDestroy(RenderTexture)
Declaration
public static void SafeDestroy(this RenderTexture texture)
Parameters
Type | Name | Description |
---|---|---|
RenderTexture | texture |
ToTexture2D(RenderTexture)
Declaration
public static Texture2D ToTexture2D(this RenderTexture rTex)
Parameters
Type | Name | Description |
---|---|---|
RenderTexture | rTex |
Returns
Type | Description |
---|---|
Texture2D |