Enum 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
    Both contain a list of capital sensitive quirk names separated by comma. Example:
     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 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 name
        NullPointerException - if the argument is null