TextureCodec.Encode
TextureCodec.Encode method
Encode texture data into stream using specified format
public static void Encode(TextureData texture, Stream stream, string format)
| Parameter | Type | Description |
|---|---|---|
| texture | TextureData | The texture to be encoded |
| stream | Stream | The output stream |
| format | String | The image format of encoded data, like png/jpg |
Exceptions
| exception | condition |
|---|---|
| NotSupportedException |
See Also
- class TextureData
- class TextureCodec
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D