decode method
decode
Decode texture from stream, return null if failed to decode.
Returns
Decoded texture data or null if not supported.
def decode(self, stream, reverse_y):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | Texture data source stream |
reverse_y | bool | Flip the texture |
Exceptions
Exception | Description |
---|---|
IOException |
See Also
- module
aspose.threed.render
- class
ITextureDecoder