Class GLUtil


  • public final class GLUtil
    extends java.lang.Object
    OpenGL utilities.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Callback setupDebugMessageCallback()
      Detects the best debug output functionality to use and creates a callback that prints information to APIUtil.DEBUG_STREAM.
      static 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

        @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​(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