hmi.graphics.opengl
Class GLUtil

java.lang.Object
  extended by hmi.graphics.opengl.GLUtil

public class GLUtil
extends Object

A few static utility methods for OpenGL


Field Summary
private static org.slf4j.Logger logger
           
static int MAXERRORS
           
 
Constructor Summary
GLUtil()
           
 
Method Summary
static String getErrorMessage(GLBinding glc)
           
static int reportGLErrors(GLBinding glc)
          Reports all OpenGL errors, until the OpenGL error flags have been cleared, up to a maximum number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.slf4j.Logger logger

MAXERRORS

public static final int MAXERRORS
See Also:
Constant Field Values
Constructor Detail

GLUtil

public GLUtil()
Method Detail

getErrorMessage

public static String getErrorMessage(GLBinding glc)

reportGLErrors

public static int reportGLErrors(GLBinding glc)
Reports all OpenGL errors, until the OpenGL error flags have been cleared, up to a maximum number. The number of reported errors is returned.