Package com.openinventor.inventor.errors
Class SoGLError
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.errors.SoError
-
- com.openinventor.inventor.errors.SoGLError
-
public class SoGLError extends SoError
OpenGL rendering error handling.SoGLErroris used for errors reported by the OpenGL render engine.
SeeSoErrorfor full discussion of error handling in Open Inventor.- See Also:
SoDebugError,SoMemoryError
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSoGLError.Handler-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoGLError()Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidpost(int openGLErrorCode, java.lang.String glFuncName, java.lang.String formatString)Posts an error.static voidsetHandlerCallback(SoGLError.Handler h)Sets the handler for SoGLError class.-
Methods inherited from class com.openinventor.inventor.errors.SoError
getDebugString, post, setHandlerCallback
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
setHandlerCallback
public static void setHandlerCallback(SoGLError.Handler h)
Sets the handler for SoGLError class.
-
post
public static void post(int openGLErrorCode, java.lang.String glFuncName, java.lang.String formatString)Posts an error.
-
-