Package org.jzy3d.io.glsl
Enum GLSLProgram.Strictness
- All Implemented Interfaces:
Serializable,Comparable<GLSLProgram.Strictness>,java.lang.constant.Constable
- Enclosing class:
GLSLProgram
Control the behaviour of a GLSL program with errors (throwing exceptions, create warnings, etc)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLet the GLSL program push warnings to aStringBufferto be read.Let the GLSL program be verbose through}.invalid @link
{@link System.out.println()Let the GLSL program be verbose through}, unless the warning is due to a uniform that is set by GL but not actually used by the compiled shader.invalid @link
{@link System.out.println()Let the GLSL program throwRuntimeExceptions on warnings.Keeps the GLSL program quiet on warnings -
Method Summary
Modifier and TypeMethodDescriptionstatic GLSLProgram.StrictnessReturns 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.
-
Enum Constant Details
-
MAXIMAL
Let the GLSL program throwRuntimeExceptions on warnings. -
CONSOLE
Let the GLSL program be verbose through}.invalid @link
{@link System.out.println() -
CONSOLE_NO_WARN_UNIFORM_NOT_FOUND
Let the GLSL program be verbose through}, unless the warning is due to a uniform that is set by GL but not actually used by the compiled shader.invalid @link
{@link System.out.println() -
BUFFER
Let the GLSL program push warnings to aStringBufferto be read. -
NONE
Keeps the GLSL program quiet on warnings
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-