ITextureEncoder

public interface ITextureEncoder

External texture encoder should implement this interface for encoding.

Methods

MethodDescription
encode(TextureData texture, Stream stream)Encode texture data into stream
getFileExtension()File extension name(without dot) of the this encoder

encode(TextureData texture, Stream stream)

public abstract void encode(TextureData texture, Stream stream)

Encode texture data into stream

Parameters:

ParameterTypeDescription
textureTextureDataThe texture data to be encoded
streamcom.aspose.csporter.helpers.StreamThe output stream

getFileExtension()

public abstract String getFileExtension()

File extension name(without dot) of the this encoder

Returns: java.lang.String