Decode and encode texture using SkiaSharp
Contents
[
Hide
]
Using Aspose.3D for .NET, developers use external image encoder and decoders to load textures or save textures into different image formats.
Use the following code to define a texture codec from SkiaSharp
Register it into Aspose.3D
Aspose.ThreeD.Render.TextureCodec.RegisterCodec(new Aspose.ThreeD.SkiaSharpCodec());
When this codec has been registered, all SkiaSharp supported image formats can be used in TextureData.Save.