Top Description Constructors Methods
org.lwjgl.opengl

public final Class Util

extends Object
Class Inheritance
Static Imports
org.lwjgl.opengl.ARBImaging.*, org.lwjgl.opengl.GL11.*, org.lwjgl.opengl.GL30.*

Simple utility class.
Author
cix_foo
Version
$Revision$

Constructor Summary

AccessConstructor and Description
private
Util()

No c'tor

Method Summary

Modifier and TypeMethod and Description
public static void
checkGLError()

Throws OpenGLException if glGetError() returns anything else than GL_NO_ERROR

public static String
translateGLErrorString(int error_code)

Translate a GL error code to a String describing the error

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Utilback to summary
private Util()

No c'tor

Method Detail

checkGLErrorback to summary
public static void checkGLError() throws OpenGLException

Throws OpenGLException if glGetError() returns anything else than GL_NO_ERROR

translateGLErrorStringback to summary
public static String translateGLErrorString(int error_code)

Translate a GL error code to a String describing the error