Package org.lwjgl.opengl
Class GLUtil
- java.lang.Object
-
- org.lwjgl.opengl.GLUtil
-
public final class GLUtil extends java.lang.Object
OpenGL utilities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static org.lwjgl.system.Callback
setupDebugMessageCallback()
Detects the best debug output functionality to use and creates a callback that prints information toAPIUtil.DEBUG_STREAM
.static org.lwjgl.system.Callback
setupDebugMessageCallback(java.io.PrintStream stream)
Detects the best debug output functionality to use and creates a callback that prints information to the specifiedPrintStream
.
-
-
-
Method Detail
-
setupDebugMessageCallback
public static org.lwjgl.system.Callback setupDebugMessageCallback()
Detects the best debug output functionality to use and creates a callback that prints information toAPIUtil.DEBUG_STREAM
. The callback function is returned as aCallback
, that should befreed
when no longer needed.
-
setupDebugMessageCallback
public static org.lwjgl.system.Callback setupDebugMessageCallback(java.io.PrintStream stream)
Detects the best debug output functionality to use and creates a callback that prints information to the specifiedPrintStream
. The callback function is returned as aCallback
, that should befreed
when no longer needed.- Parameters:
stream
- the outputPrintStream
-
-