public enum PixelFormat extends java.lang.Enum<PixelFormat>
| Enum Constant and Description |
|---|
A_8 |
AI_88 |
I_8 |
RGB_565 |
RGBA_4444 |
RGBA_5551 |
RGBA_8888 |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
int |
getBitsPerPixel() |
int |
getGLFormat() |
int |
getGLInternalFormat() |
int |
getGLType() |
static PixelFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelFormat UNDEFINED
public static final PixelFormat RGBA_4444
public static final PixelFormat RGBA_5551
public static final PixelFormat RGBA_8888
public static final PixelFormat RGB_565
public static final PixelFormat A_8
public static final PixelFormat I_8
public static final PixelFormat AI_88
public static PixelFormat[] values()
for (PixelFormat c : PixelFormat.values()) System.out.println(c);
public static PixelFormat 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 int getGLInternalFormat()
public int getGLFormat()
public int getGLType()
public int getBitsPerPixel()