Class GlUtil


  • public class GlUtil
    extends java.lang.Object
    Some OpenGL static utility functions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkNoGLES2Error​(java.lang.String msg)  
      static java.nio.FloatBuffer createFloatBuffer​(float[] coords)  
      static int generateFrameBuffer​(int textureId)  
      static int generateTexture​(int target)
      Generate texture with standard parameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • checkNoGLES2Error

        public static void checkNoGLES2Error​(java.lang.String msg)
      • createFloatBuffer

        public static java.nio.FloatBuffer createFloatBuffer​(float[] coords)
      • generateTexture

        public static int generateTexture​(int target)
        Generate texture with standard parameters.
      • generateFrameBuffer

        public static int generateFrameBuffer​(int textureId)