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):
    ...
ParameterTypeDescription
streamio.RawIOBaseTexture data source stream
reverse_yboolFlip the texture

Exceptions

ExceptionDescription
IOException

See Also