|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StateTypes>
org.xith3d.render.states.StateTypes
public enum StateTypes
This enum can be used to initialized a StatePriorities instance,
which must be passed to a StateRenderBinSorter or
OrderedStateRenderBinSorter.
The order if the fields is important, since it defines the order in which states are applied to the GL, which is important.
| Method Summary | |
|---|---|
int |
getInternalType()
|
static void |
init()
This method can be called from anywhere to initialize the state-unit-types. |
static StateTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StateTypes[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, 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 StateTypes COLORING
public static final StateTypes SHADER_PROGRAM
public static final StateTypes TEXTURE_UNIT0
public static final StateTypes TEXTURE_UNIT1
public static final StateTypes TEXTURE_UNIT2
public static final StateTypes TEXTURE_UNIT3
public static final StateTypes TEXTURE_UNIT4
public static final StateTypes TEXTURE_UNIT5
public static final StateTypes TEXTURE_UNIT6
public static final StateTypes TEXTURE_UNIT7
public static final StateTypes LIGHTING
public static final StateTypes FOG
public static final StateTypes MATERIAL
public static final StateTypes POLYGON_ATTRIBUTES
public static final StateTypes LINE_ATTRIBUTES
public static final StateTypes POINT_ATTRIBUTES
public static final StateTypes RENDERING_ATTRIBUTES
| Method Detail |
|---|
public static StateTypes[] values()
for (StateTypes c : StateTypes.values()) System.out.println(c);
public static StateTypes 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 name
java.lang.NullPointerException - if the argument is nullpublic final int getInternalType()
public static final void init()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||