public class JavaXImageCodec extends java.lang.Object implements ITextureCodec, ITextureDecoder
| Constructor and Description |
|---|
JavaXImageCodec() |
| Modifier and Type | Method and Description |
|---|---|
TextureData |
decode(Stream stream,
boolean reverseY)
Decode texture from stream, return null if failed to decode.
|
ITextureDecoder[] |
getDecoders()
Gets supported texture decoders.
|
ITextureEncoder[] |
getEncoders()
Gets supported texture encoders.
|
public ITextureDecoder[] getDecoders()
ITextureCodecgetDecoders in interface ITextureCodecpublic ITextureEncoder[] getEncoders()
ITextureCodecgetEncoders in interface ITextureCodecpublic TextureData decode(Stream stream, boolean reverseY) throws java.io.IOException
ITextureDecoderdecode in interface ITextureDecoderstream - Texture data source streamreverseY - Flip the texturejava.io.IOException - Thrown when failed to read data from stream