ITextureDecoder

public interface ITextureDecoder

External texture decoder should implement this interface for decoding.

Methods

MethodDescription
decode(Stream stream, boolean reverseY)Decode texture from stream, return null if failed to decode.

decode(Stream stream, boolean reverseY)

public abstract TextureData decode(Stream stream, boolean reverseY)

Decode texture from stream, return null if failed to decode.

Parameters:

ParameterTypeDescription
streamcom.aspose.csporter.helpers.StreamTexture data source stream
reverseYbooleanFlip the texture

Returns: TextureData - Decoded texture data or null if not supported.