encode method

encode(self, texture, stream)

Encode texture data into stream


def encode(self, texture, stream):
    ...
ParameterTypeDescription
textureaspose.threed.render.TextureDataThe texture data to be encoded
streamio.RawIOBaseThe output stream

Exceptions

ExceptionDescription
IOExceptionThrown when failed to write encoded texture to stream

See Also