Method SaveTexture
SaveTexture(Texture2D, String, TextureWrapMode)
Saves a texture to a specified path.
Declaration
public static void SaveTexture(Texture2D texture, string path, TextureWrapMode mode = TextureWrapMode.Repeat)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture2D | texture | Texture to save. |
| String | path | path where you want to save the texture. |
| TextureWrapMode | mode | Texture wrap mode (default: Repeat). |