java.lang.Object
com.marginallyclever.convenience.helpers.OpenGLHelper

public class OpenGLHelper extends Object
A collection of static methods to help with OpenGL.
  • Constructor Details

    • OpenGLHelper

      public OpenGLHelper()
  • Method Details

    • drawAtopEverythingStart

      public static int drawAtopEverythingStart(com.jogamp.opengl.GL3 gl)
    • checkGLError

      public static void checkGLError(com.jogamp.opengl.GL3 gl3, org.slf4j.Logger logger)
    • drawAtopEverythingEnd

      public static void drawAtopEverythingEnd(com.jogamp.opengl.GL3 gl, int previousState)
    • setLineWidth

      public static float setLineWidth(com.jogamp.opengl.GL3 gl, float newWidth)
    • disableTextureStart

      public static boolean disableTextureStart(com.jogamp.opengl.GL3 gl)
    • disableTextureEnd

      public static void disableTextureEnd(com.jogamp.opengl.GL3 gl, boolean oldState)