ITextureDecoder.Decode

ITextureDecoder.Decode method

Decode texture from stream, return null if failed to decode.

public TextureData Decode(Stream stream, bool reverseY)
ParameterTypeDescription
streamStreamTexture data source stream
reverseYBooleanFlip the texture

Return Value

Decoded texture data or null if not supported.

Exceptions

exceptioncondition
IOException

See Also