Interface OGLGraphics.Options

Enclosing class:
OGLGraphics

public static interface OGLGraphics.Options
An options class for changing runtime behavior for a created system.
Author:
Matthew Tropiano
  • Method Details

    • handleErrorChecking

      OGLGraphics.ErrorHandlingType handleErrorChecking()
      Gets whether or not the error checking functions used to detect OpenGL runtime errors should do anything on call. Returning OGLGraphics.ErrorHandlingType.IGNORE stops all OGLGraphics.checkError() calls from going through to OpenGL, saving calls.

      It would be unwise to turn this off while developing.

      Returns:
      the error handling type.
    • handleVersionChecking

      OGLGraphics.ErrorHandlingType handleVersionChecking()
      Gets whether or not the version checking functions used to detect mismatched features should do anything on call. Returning OGLGraphics.ErrorHandlingType.IGNORE turns all internal version checking and verification off.

      It would be unwise to turn this off while developing.

      Returns:
      the error handling type.
    • handleUndeletedObjects

      OGLGraphics.ErrorHandlingType handleUndeletedObjects()
      Gets whether or not encountering an undeleted object at the end of a frame results in an error. Returning OGLGraphics.ErrorHandlingType.IGNORE does not report on undeleted objects, and silently deletes them.

      It would be unwise to turn this off while developing.

      Returns:
      the error handling type.