|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Cubemap.CubemapSide> com.badlogic.gdx.graphics.Cubemap.CubemapSide
public static enum Cubemap.CubemapSide
Enum to identify each side of a Cubemap
Enum Constant Summary | |
---|---|
NegativeX
The negative X and second side of the cubemap |
|
NegativeY
The negative Y and fourth side of the cubemap |
|
NegativeZ
The negative Z and sixth side of the cubemap |
|
PositiveX
The positive X and first side of the cubemap |
|
PositiveY
The positive Y and third side of the cubemap |
|
PositiveZ
The positive Z and fifth side of the cubemap |
Field Summary | |
---|---|
int |
glEnum
The OpenGL target (used for glTexImage2D) of the side. |
int |
index
The zero based index of the side in the cubemap |
Method Summary | |
---|---|
int |
getGLEnum()
|
static Cubemap.CubemapSide |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Cubemap.CubemapSide[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Cubemap.CubemapSide PositiveX
public static final Cubemap.CubemapSide NegativeX
public static final Cubemap.CubemapSide PositiveY
public static final Cubemap.CubemapSide NegativeY
public static final Cubemap.CubemapSide PositiveZ
public static final Cubemap.CubemapSide NegativeZ
Field Detail |
---|
public final int index
public final int glEnum
Method Detail |
---|
public static Cubemap.CubemapSide[] values()
for (Cubemap.CubemapSide c : Cubemap.CubemapSide.values()) System.out.println(c);
public static Cubemap.CubemapSide valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getGLEnum()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |