|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Spatial.TextureCombineMode>
com.jme.scene.Spatial.TextureCombineMode
public static enum Spatial.TextureCombineMode
Describes how to combine textures from ancestor texturestates when an updateRenderState is called on a Spatial.
| Enum Constant Summary | |
|---|---|
CombineClosest
Combine textures starting from the given Spatial and working towards the root. |
|
CombineClosestEnabled
Similar to CombineClosest, but if a disabled state is encountered, it will stop combining at that point. |
|
CombineFirst
Combine textures starting from the root node and working towards the given Spatial. |
|
Inherit
Inherit mode from parent. |
|
Off
When updating render states, turn off texturing for this spatial. |
|
Replace
Do not combine textures, just use the most recent texture state. |
|
| Method Summary | |
|---|---|
static Spatial.TextureCombineMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Spatial.TextureCombineMode[] |
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 Spatial.TextureCombineMode Off
public static final Spatial.TextureCombineMode CombineFirst
public static final Spatial.TextureCombineMode CombineClosest
public static final Spatial.TextureCombineMode CombineClosestEnabled
public static final Spatial.TextureCombineMode Inherit
public static final Spatial.TextureCombineMode Replace
| Method Detail |
|---|
public static Spatial.TextureCombineMode[] values()
for (Spatial.TextureCombineMode c : Spatial.TextureCombineMode.values()) System.out.println(c);
public static Spatial.TextureCombineMode 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||