Package org.lwjgl.opengl
Class GLUtil
java.lang.Object
org.lwjgl.opengl.GLUtil
OpenGL utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Callback
Detects the best debug output functionality to use and creates a callback that prints information toAPIUtil.DEBUG_STREAM
.static Callback
setupDebugMessageCallback
(PrintStream stream) Detects the best debug output functionality to use and creates a callback that prints information to the specifiedPrintStream
.
-
Method Details
-
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
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
-