Class 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 to APIUtil.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 specified PrintStream.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 to APIUtil.DEBUG_STREAM. The callback function is returned as a Callback, that should be freed 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 specified PrintStream. The callback function is returned as a Callback, that should be freed when no longer needed.
        Parameters:
        stream - the output PrintStream