Class PZGLUtil

java.lang.Object
zombie.core.opengl.PZGLUtil

public class PZGLUtil extends Object
  • Constructor Details

    • PZGLUtil

      public PZGLUtil()
  • Method Details

    • checkGLErrorThrow

      public static void checkGLErrorThrow(String format, Object... args) throws org.lwjglx.opengl.OpenGLException
      Throws:
      org.lwjglx.opengl.OpenGLException
    • checkGLError

      public static boolean checkGLError(boolean stackTrace)
    • printGLState

      public static void printGLState(PrintStream out)
    • loadMatrix

      public static void loadMatrix(org.joml.Matrix4f matrix)
    • multMatrix

      public static void multMatrix(org.joml.Matrix4f matrix)
    • loadMatrix

      public static void loadMatrix(int mode, org.joml.Matrix4f matrix)
    • multMatrix

      public static void multMatrix(int mode, org.joml.Matrix4f matrix)
    • pushAndLoadMatrix

      public static void pushAndLoadMatrix(int mode, org.joml.Matrix4f matrix)
    • pushAndMultMatrix

      public static void pushAndMultMatrix(int mode, org.joml.Matrix4f matrix)
    • popMatrix

      public static void popMatrix(int mode)