public class ETC1Util extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ETC1Util.ETC1Texture |
| Constructor and Description |
|---|
ETC1Util() |
| Modifier and Type | Method and Description |
|---|---|
static ETC1Util.ETC1Texture |
compressTexture(Buffer input,
int width,
int height,
int pixelSize,
int stride) |
static ETC1Util.ETC1Texture |
createTexture(InputStream input) |
static boolean |
isETC1Supported() |
static void |
loadTexture(int target,
int level,
int border,
int fallbackFormat,
int fallbackType,
ETC1Util.ETC1Texture texture) |
static void |
loadTexture(int target,
int level,
int border,
int fallbackFormat,
int fallbackType,
InputStream input) |
static void |
writeTexture(ETC1Util.ETC1Texture texture,
OutputStream output) |
public static void loadTexture(int target,
int level,
int border,
int fallbackFormat,
int fallbackType,
InputStream input)
throws IOException
IOExceptionpublic static void loadTexture(int target,
int level,
int border,
int fallbackFormat,
int fallbackType,
ETC1Util.ETC1Texture texture)
public static boolean isETC1Supported()
public static ETC1Util.ETC1Texture createTexture(InputStream input) throws IOException
IOExceptionpublic static ETC1Util.ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride)
public static void writeTexture(ETC1Util.ETC1Texture texture, OutputStream output) throws IOException
IOExceptionCopyright © 2008-2013. All Rights Reserved.