Decode and encode texture using System.Drawing

Implement a texture codec using System.Drawing

Use the following class to define texture encoders and texture decoder:

Register it into Aspose.3D

Now let’s register it into Aspsoe.3D:

    Aspose.ThreeD.Render.TextureCodec.RegisterCodec(new Aspose.ThreeD.GdiPlusCodec());

When this codec has been registered, all System.Drawing supported image formats can be used in TextureData.Save.