@Environment(value=CLIENT) public static enum GlStateManager.Viewport extends Enum<GlStateManager.Viewport>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected int |
width |
protected int |
x |
protected int |
y |
Modifier and Type | Method and Description |
---|---|
static GlStateManager.Viewport |
valueOf(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
protected int x
protected int y
protected int width
protected int height
public static GlStateManager.Viewport[] values()
for (GlStateManager.Viewport c : GlStateManager.Viewport.values()) System.out.println(c);
public static GlStateManager.Viewport 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 null