Class GLUtil

java.lang.Object
org.lwjgl.opengl.GLUtil

public final class GLUtil extends Object
OpenGL utilities.
  • Method Details

    • setupDebugMessageCallback

      @Nullable public static 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

      @Nullable public static Callback setupDebugMessageCallback(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