public static enum NativeImage.PixelFormatGLCode extends java.lang.Enum<NativeImage.PixelFormatGLCode>
Enum Constant and Description |
---|
INTENSITY |
LUMINANCE |
LUMINANCE_ALPHA |
RGB |
RGBA |
Modifier and Type | Field and Description |
---|---|
private int |
glConstant |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getGlFormat() |
static NativeImage.PixelFormatGLCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeImage.PixelFormatGLCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeImage.PixelFormatGLCode RGBA
public static final NativeImage.PixelFormatGLCode RGB
public static final NativeImage.PixelFormatGLCode LUMINANCE_ALPHA
public static final NativeImage.PixelFormatGLCode LUMINANCE
public static final NativeImage.PixelFormatGLCode INTENSITY
public static NativeImage.PixelFormatGLCode[] values()
for (NativeImage.PixelFormatGLCode c : NativeImage.PixelFormatGLCode.values()) System.out.println(c);
public static NativeImage.PixelFormatGLCode 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 nullint getGlFormat()