Class PZGLUtil
java.lang.Object
zombie.core.opengl.PZGLUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckGLError(boolean stackTrace) static voidcheckGLErrorThrow(String format, Object... args) static voidstatic voidloadMatrix(int mode, org.joml.Matrix4f matrix) static voidloadMatrix(org.joml.Matrix4f matrix) static voidmultMatrix(int mode, org.joml.Matrix4f matrix) static voidmultMatrix(org.joml.Matrix4f matrix) static voidpopMatrix(int mode) static voidprintGLState(PrintStream out) static voidpushAndLoadMatrix(int mode, org.joml.Matrix4f matrix) static voidpushAndMultMatrix(int mode, org.joml.Matrix4f matrix)
-
Constructor Details
-
PZGLUtil
public PZGLUtil()
-
-
Method Details
-
checkGLErrorThrow
-
checkGLError
public static boolean checkGLError(boolean stackTrace) -
InitGLDebugging
public static void InitGLDebugging() -
printGLState
-
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)
-