|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ColorTarget>
org.jagatoo.opengl.enums.ColorTarget
public enum ColorTarget
Insert type comment here.
| Enum Constant Summary | |
|---|---|
AMBIENT
Specifies that per-vertex colors (if any) or color from ColoringAttributes replace the ambient material color |
|
AMBIENT_AND_DIFFUSE
Specifies that per-vertex colors (if any) or color from ColoringAttributes replace both the ambient and the diffuse material color |
|
DIFFUSE
Specifies that per-vertex colors (if any) or color from ColoringAttributes replace the diffuse material color |
|
EMISSIVE
Specifies that per-vertex colors (if any) or color from ColoringAttributes replace the emissive material color |
|
NONE
Disables use of per-vertex colors for replacement of any of the material color. |
|
SPECULAR
Specifies that per-vertex colors (if any) or color from ColoringAttributes replace the specular material color |
|
| Method Summary | |
|---|---|
int |
toOpenGL()
|
static ColorTarget |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ColorTarget[] |
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 ColorTarget NONE
public static final ColorTarget AMBIENT
public static final ColorTarget EMISSIVE
public static final ColorTarget DIFFUSE
public static final ColorTarget SPECULAR
public static final ColorTarget AMBIENT_AND_DIFFUSE
| Method Detail |
|---|
public static ColorTarget[] values()
for (ColorTarget c : ColorTarget.values()) System.out.println(c);
public static ColorTarget 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 toOpenGL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||