Class GLUtils

java.lang.Object
dev.prozilla.pine.common.opengl.GLUtils

public final class GLUtils extends Object
OpenGL utilities.
  • Constructor Details

    • GLUtils

      public GLUtils()
  • Method Details

    • getErrorString

      public static String getErrorString(int errorCode)
      Translates an OpenGL error code to a string describing the error. Source: GLUtil.java.
      Parameters:
      errorCode - The error code, as returned by GL11.glGetError()
      Returns:
      The error description.