Package org.lwjgl.opengl
Class GLUtil
java.lang.Object
org.lwjgl.opengl.GLUtil
OpenGL utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable CallbackDetects the best debug output functionality to use and creates a callback that prints information toAPIUtil.DEBUG_STREAM.static @Nullable CallbacksetupDebugMessageCallback(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 befreedwhen 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 befreedwhen no longer needed.- Parameters:
stream- the outputPrintStream
-