public static enum GlStateManager.Viewport extends java.lang.Enum<GlStateManager.Viewport>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
protected int |
h |
protected int |
w |
protected int |
x |
protected int |
y |
Modifier and Type | Method and Description |
---|---|
static GlStateManager.Viewport |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GlStateManager.Viewport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlStateManager.Viewport INSTANCE
public static GlStateManager.Viewport[] values()
for (GlStateManager.Viewport c : GlStateManager.Viewport.values()) System.out.println(c);
public static GlStateManager.Viewport 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 null