encode method
encode(self, texture, stream)
Encode texture data into stream
def encode(self, texture, stream):
...
| Parameter | Type | Description |
|---|---|---|
| texture | aspose.threed.render.TextureData | The texture data to be encoded |
| stream | io.RawIOBase | The output stream |
Exceptions
| Exception | Description |
|---|---|
| IOException | Thrown when failed to write encoded texture to stream |
See Also
- module
aspose.threed.render - class
ITextureEncoder