|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RenderQueueConfig.SortMode>
com.threerings.opengl.compositor.config.RenderQueueConfig.SortMode
public static enum RenderQueueConfig.SortMode
The available sort modes.
| Enum Constant Summary | |
|---|---|
BACK_TO_FRONT
Sorts batches by depth, back-to-front. |
|
BY_STATE
Sorts batches by state, then front-to-back. |
|
FRONT_TO_BACK
Sorts batches by depth, front-to-back. |
|
NONE
Leaves batches unsorted. |
|
| Method Summary | |
|---|---|
void |
sort(List<Batch> batches)
Sorts the supplied list of batches. |
static RenderQueueConfig.SortMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RenderQueueConfig.SortMode[] |
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 RenderQueueConfig.SortMode NONE
public static final RenderQueueConfig.SortMode BY_STATE
public static final RenderQueueConfig.SortMode BACK_TO_FRONT
public static final RenderQueueConfig.SortMode FRONT_TO_BACK
| Method Detail |
|---|
public static RenderQueueConfig.SortMode[] values()
for (RenderQueueConfig.SortMode c : RenderQueueConfig.SortMode.values()) System.out.println(c);
public static RenderQueueConfig.SortMode 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 void sort(List<Batch> batches)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||