decode method
decode(self, stream, reverse_y)
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 | Thrown when failed to read data from stream |
See Also
- module
aspose.threed.render
- class
ITextureDecoder