ITextureDecoder.Decode
ITextureDecoder.Decode method
Decode texture from stream, return null if failed to decode.
public TextureData Decode(Stream stream, bool reverseY)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | Texture data source stream |
| reverseY | Boolean | Flip the texture |
Return Value
Decoded texture data or null if not supported.
Exceptions
| exception | condition |
|---|---|
| IOException | Thrown when failed to read data from stream |
See Also
- class TextureData
- interface ITextureDecoder
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D