@Environment(value=CLIENT) public static enum NativeImage.GLFormat extends Enum<NativeImage.GLFormat>
Enum Constant and Description |
---|
ABGR |
BGR |
INTENSITY |
LUMINANCE |
LUMINANCE_ALPHA |
Modifier and Type | Field and Description |
---|---|
private int |
glConstant |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getGlConstant() |
static NativeImage.GLFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NativeImage.GLFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeImage.GLFormat ABGR
public static final NativeImage.GLFormat BGR
public static final NativeImage.GLFormat LUMINANCE_ALPHA
public static final NativeImage.GLFormat LUMINANCE
public static final NativeImage.GLFormat INTENSITY
public static NativeImage.GLFormat[] values()
for (NativeImage.GLFormat c : NativeImage.GLFormat.values()) System.out.println(c);
public static NativeImage.GLFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullint getGlConstant()