Package com.jogamp.opengl
Enum GLRendererQuirks.Override
- java.lang.Object
-
- java.lang.Enum<GLRendererQuirks.Override>
-
- com.jogamp.opengl.GLRendererQuirks.Override
-
- All Implemented Interfaces:
Serializable
,Comparable<GLRendererQuirks.Override>
- Enclosing class:
- GLRendererQuirks
public static enum GLRendererQuirks.Override extends Enum<GLRendererQuirks.Override>
Allow overriding any quirk settings via the two properties:- jogl.quirks.force
- jogl.quirks.ignore
java -Djogl.quirks.force=GL3CompatNonCompliant,NoFullFBOSupport -cp my_classpath some.main.Class
Naturally, one quirk can only be listed in one override list. Hence the two override sets force and ignore are unique.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GLRendererQuirks.Override
valueOf(String name)
Returns the enum constant of this type with the specified name.static GLRendererQuirks.Override[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final GLRendererQuirks.Override NONE
No override.
-
FORCE
public static final GLRendererQuirks.Override FORCE
Enforce the quirk, i.e. allowing the code path to be injected w/o actual cause.
-
IGNORE
public static final GLRendererQuirks.Override IGNORE
Ignore the quirk, i.e. don't set the quirk if otherwise caused.
-
-
Method Detail
-
values
public static GLRendererQuirks.Override[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GLRendererQuirks.Override c : GLRendererQuirks.Override.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GLRendererQuirks.Override valueOf(String name)
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
-
-