Class TextureExtension
The texture extension methods class.
Namespace: Evergine.Assets
Assembly: Evergine.Assets.dll
Syntax
public static class TextureExtension
Methods
SaveToFile(Texture, GraphicsContext, string)
Saves a texture to a file.
Declaration
public static void SaveToFile(this Texture texture, GraphicsContext context, string outputPath)
Parameters
Type | Name | Description |
---|---|---|
Texture | texture | The Texture. |
GraphicsContext | context | The GraphicsContext to save. |
string | outputPath | The path for the output file. |