ITextureEncoder
public interface ITextureEncoder
External texture encoder should implement this interface for encoding.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
texture | TextureData | The texture data to be encoded |
stream | com.aspose.csporter.helpers.Stream | The output stream |
getFileExtension()
public abstract String getFileExtension()
File extension name(without dot) of the this encoder
Returns: java.lang.String