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