public static enum Cubemap.CubemapSide extends Enum<Cubemap.CubemapSide>
Enum Constant and Description |
---|
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
|
Modifier and Type | Field and Description |
---|---|
int |
glEnum
The OpenGL target (used for glTexImage2D) of the side.
|
int |
index
The zero based index of the side in the cubemap
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
public final int index
public final int glEnum
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 nameNullPointerException
- if the argument is nullpublic int getGLEnum()
Copyright © 2014. All rights reserved.