TextureCodec.Encode
TextureCodec.Encode method
使用指定格式将纹理数据编码到流中
public static void Encode(TextureData texture, Stream stream, string format)
| 参数 | 类型 | 描述 |
|---|---|---|
| 纹理 | TextureData | 要编码的纹理 |
| stream | Stream | 输出流 |
| 格式 | 字符串 | 已编码数据的图像格式,例如 png/jpg |
异常
| 异常 | 条件 |
|---|---|
| NotSupportedException |
另请参见
- class TextureData
- class TextureCodec
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D