public static enum PVRTexture.PVRTextureFormat extends java.lang.Enum<PVRTexture.PVRTextureFormat>
| Enum Constant and Description |
|---|
A_8 |
AI_88 |
I_8 |
RGB_565 |
RGBA_4444 |
RGBA_5551 |
RGBA_8888 |
| Modifier and Type | Method and Description |
|---|---|
static PVRTexture.PVRTextureFormat |
fromID(int pID) |
static PVRTexture.PVRTextureFormat |
fromPixelFormat(PixelFormat pPixelFormat) |
int |
getID() |
PixelFormat |
getPixelFormat() |
boolean |
isCompressed() |
static PVRTexture.PVRTextureFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PVRTexture.PVRTextureFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PVRTexture.PVRTextureFormat RGBA_4444
public static final PVRTexture.PVRTextureFormat RGBA_5551
public static final PVRTexture.PVRTextureFormat RGBA_8888
public static final PVRTexture.PVRTextureFormat RGB_565
public static final PVRTexture.PVRTextureFormat I_8
public static final PVRTexture.PVRTextureFormat AI_88
public static final PVRTexture.PVRTextureFormat A_8
public static PVRTexture.PVRTextureFormat[] values()
for (PVRTexture.PVRTextureFormat c : PVRTexture.PVRTextureFormat.values()) System.out.println(c);
public static PVRTexture.PVRTextureFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static PVRTexture.PVRTextureFormat fromID(int pID)
public static PVRTexture.PVRTextureFormat fromPixelFormat(PixelFormat pPixelFormat) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic int getID()
public boolean isCompressed()
public PixelFormat getPixelFormat()