public static enum GLSLProgram.Strictness extends Enum<GLSLProgram.Strictness>
Enum Constant and Description |
---|
BUFFER
Let the GLSL program push warnings to a
StringBuffer to be read. |
CONSOLE
Let the GLSL program be verbose through
System.out.println() . |
CONSOLE_NO_WARN_UNIFORM_NOT_FOUND
Let the GLSL program be verbose through
System.out.println() , unless the warning is due to
a uniform that is set by GL but not actually used by the compiled shader. |
MAXIMAL
Let the GLSL program throw
RuntimeException s on warnings. |
NONE
Keeps the GLSL program quiet on warnings
|
Modifier and Type | Method and Description |
---|---|
static GLSLProgram.Strictness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GLSLProgram.Strictness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GLSLProgram.Strictness MAXIMAL
RuntimeException
s on warnings.public static final GLSLProgram.Strictness CONSOLE
System.out.println()
.public static final GLSLProgram.Strictness CONSOLE_NO_WARN_UNIFORM_NOT_FOUND
System.out.println()
, unless the warning is due to
a uniform that is set by GL but not actually used by the compiled shader.public static final GLSLProgram.Strictness BUFFER
StringBuffer
to be read.public static final GLSLProgram.Strictness NONE
public static GLSLProgram.Strictness[] values()
for (GLSLProgram.Strictness c : GLSLProgram.Strictness.values()) System.out.println(c);
public static GLSLProgram.Strictness valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.