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 aStringBuffer
to be read.Let the GLSL program be verbose throughinvalid @link
{@link System.out.println()
Let the GLSL program be verbose throughinvalid @link
{@link System.out.println()
Let the GLSL program throwRuntimeException
s on warnings.Keeps the GLSL program quiet on warnings -
Method Summary
Modifier and TypeMethodDescriptionstatic GLSLProgram.Strictness
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.
-
Enum Constant Details
-
MAXIMAL
Let the GLSL program throwRuntimeException
s on warnings. -
CONSOLE
Let the GLSL program be verbose throughinvalid @link
{@link System.out.println()
-
CONSOLE_NO_WARN_UNIFORM_NOT_FOUND
Let the GLSL program be verbose throughinvalid @link
{@link System.out.println()
-
BUFFER
Let the GLSL program push warnings to aStringBuffer
to 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
-