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 Summary
Modifier and TypeMethodDescriptionGets whether or not the error checking functions used to detect OpenGL runtime errors should do anything on call.Gets whether or not encountering an undeleted object at the end of a frame results in an error.Gets whether or not the version checking functions used to detect mismatched features should do anything on call.
-
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. ReturningOGLGraphics.ErrorHandlingType.IGNOREstops allOGLGraphics.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. ReturningOGLGraphics.ErrorHandlingType.IGNOREturns 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. ReturningOGLGraphics.ErrorHandlingType.IGNOREdoes not report on undeleted objects, and silently deletes them.It would be unwise to turn this off while developing.
- Returns:
- the error handling type.
-