encode method

encode

Encode texture data into stream

def encode(self, texture, stream):
    ...
ParameterTypeDescription
textureTextureDataThe texture data to be encoded
streamio.RawIOBaseThe output stream

Exceptions

ExceptionDescription
IOException

See Also