public static enum ShaderGeneratorConfig.LightingAlgo extends java.lang.Enum<ShaderGeneratorConfig.LightingAlgo>
| Enum Constant and Description |
|---|
None
Nothing
|
PerPixel
Lighting per pixel
|
PerVertex
Lighting per vertex
|
ToonShading
Toon shading
|
| Modifier and Type | Method and Description |
|---|---|
static ShaderGeneratorConfig.LightingAlgo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShaderGeneratorConfig.LightingAlgo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShaderGeneratorConfig.LightingAlgo None
public static final ShaderGeneratorConfig.LightingAlgo PerVertex
public static final ShaderGeneratorConfig.LightingAlgo PerPixel
public static final ShaderGeneratorConfig.LightingAlgo ToonShading
public static ShaderGeneratorConfig.LightingAlgo[] values()
for (ShaderGeneratorConfig.LightingAlgo c : ShaderGeneratorConfig.LightingAlgo.values()) System.out.println(c);
public static ShaderGeneratorConfig.LightingAlgo 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 namejava.lang.NullPointerException - if the argument is nullBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com