ITextureEncoder.Encode

ITextureEncoder.Encode method

Encode texture data into stream

public void Encode(TextureData texture, Stream stream)
ParameterTypeDescription
textureTextureDataThe texture data to be encoded
streamStreamThe output stream

Exceptions

exceptioncondition
IOExceptionThrown when failed to write encoded texture to stream

See Also