public class VAOGLRenderer extends ImmediateModeOGLRenderer
| Modifier and Type | Field and Description | 
|---|---|
| static int | MAX_VERTSThe maximum number of vertices draw in one batch | 
| static int | NONEIndicates there is no current geometry buffer | 
alphaScaleGL_ALWAYS, GL_BGRA, GL_BLEND, GL_CLAMP, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_COLOR_BUFFER_BIT, GL_COLOR_CLEAR_VALUE, GL_COLOR_SUM_EXT, GL_COMPILE, GL_COMPILE_AND_EXECUTE, GL_DEPTH_BUFFER_BIT, GL_DEPTH_TEST, GL_DST_ALPHA, GL_EQUAL, GL_LINE_SMOOTH, GL_LINE_STRIP, GL_LINE_WIDTH, GL_LINEAR, GL_LINES, GL_MAX_TEXTURE_SIZE, GL_MIRROR_CLAMP_TO_EDGE_EXT, GL_MODELVIEW_MATRIX, GL_MODULATE, GL_NEAREST, GL_NOTEQUAL, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_POINT_SMOOTH, GL_POINTS, GL_POLYGON_SMOOTH, GL_QUADS, GL_RGB, GL_RGBA, GL_RGBA16, GL_RGBA8, GL_SCISSOR_TEST, GL_SRC_ALPHA, GL_SRC_COLOR, GL_TEXTURE_2D, GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_UNSIGNED_BYTE| Constructor and Description | 
|---|
| VAOGLRenderer() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | flush()Flush the current state of the renderer down to GL | 
| float[] | getCurrentColor()Get the current colour being rendered | 
| void | glBegin(int geomType)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glBindTexture(int target,
             int id)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glBlendFunc(int src,
           int dest)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glCallList(int id)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glClear(int value)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glClipPlane(int plane,
           java.nio.DoubleBuffer buffer)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glColor4f(float r,
         float g,
         float b,
         float a)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glColorMask(boolean red,
           boolean green,
           boolean blue,
           boolean alpha)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glDisable(int item)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glEnable(int item)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glEnd()OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glEndList()OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glLineWidth(float width)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glLoadMatrix(java.nio.FloatBuffer buffer)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glNewList(int id,
         int option)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glPointSize(float size)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glPopMatrix()OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glPushMatrix()OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glRotatef(float angle,
         float x,
         float y,
         float z)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glScalef(float x,
        float y,
        float z)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glScissor(int x,
         int y,
         int width,
         int height)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glTexCoord2f(float u,
            float v)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glTexEnvi(int target,
         int mode,
         int value)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glTranslatef(float x,
            float y,
            float z)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glVertex2f(float x,
          float y)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glVertex3f(float x,
          float y,
          float z)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | initDisplay(int width,
           int height)Initialise the display | 
canSecondaryColor, canTextureMirrorClamp, enterOrtho, glClearColor, glClearDepth, glCopyTexImage2D, glDeleteLists, glDeleteTextures, glDepthFunc, glDepthMask, glGenLists, glGenTextures, glGetError, glGetFloat, glGetInteger, glGetTexImage, glLoadIdentity, glReadPixels, glSecondaryColor3ubEXT, glTexImage2D, glTexParameteri, glTexSubImage2D, setGlobalAlphaScalepublic static final int NONE
public static final int MAX_VERTS
public void initDisplay(int width,
                        int height)
SGLinitDisplay in interface SGLinitDisplay in class ImmediateModeOGLRendererwidth - The width of the displayheight - The height of the displaypublic void flush()
SGLflush in interface SGLflush in class ImmediateModeOGLRendererpublic void glBegin(int geomType)
SGLglBegin in interface SGLglBegin in class ImmediateModeOGLRendererpublic void glColor4f(float r,
                      float g,
                      float b,
                      float a)
SGLglColor4f in interface SGLglColor4f in class ImmediateModeOGLRendererpublic void glEnd()
SGLglEnd in interface SGLglEnd in class ImmediateModeOGLRendererpublic void glTexCoord2f(float u,
                         float v)
SGLglTexCoord2f in interface SGLglTexCoord2f in class ImmediateModeOGLRendererpublic void glVertex2f(float x,
                       float y)
SGLglVertex2f in interface SGLglVertex2f in class ImmediateModeOGLRendererpublic void glVertex3f(float x,
                       float y,
                       float z)
SGLglVertex3f in interface SGLglVertex3f in class ImmediateModeOGLRendererpublic void glBindTexture(int target,
                          int id)
SGLglBindTexture in interface SGLglBindTexture in class ImmediateModeOGLRendererpublic void glBlendFunc(int src,
                        int dest)
SGLglBlendFunc in interface SGLglBlendFunc in class ImmediateModeOGLRendererpublic void glCallList(int id)
SGLglCallList in interface SGLglCallList in class ImmediateModeOGLRendererpublic void glClear(int value)
SGLglClear in interface SGLglClear in class ImmediateModeOGLRendererpublic void glClipPlane(int plane,
                        java.nio.DoubleBuffer buffer)
SGLglClipPlane in interface SGLglClipPlane in class ImmediateModeOGLRendererpublic void glColorMask(boolean red,
                        boolean green,
                        boolean blue,
                        boolean alpha)
SGLglColorMask in interface SGLglColorMask in class ImmediateModeOGLRendererpublic void glDisable(int item)
SGLglDisable in interface SGLglDisable in class ImmediateModeOGLRendererpublic void glEnable(int item)
SGLglEnable in interface SGLglEnable in class ImmediateModeOGLRendererpublic void glLineWidth(float width)
SGLglLineWidth in interface SGLglLineWidth in class ImmediateModeOGLRendererpublic void glPointSize(float size)
SGLglPointSize in interface SGLglPointSize in class ImmediateModeOGLRendererpublic void glPopMatrix()
SGLglPopMatrix in interface SGLglPopMatrix in class ImmediateModeOGLRendererpublic void glPushMatrix()
SGLglPushMatrix in interface SGLglPushMatrix in class ImmediateModeOGLRendererpublic void glRotatef(float angle,
                      float x,
                      float y,
                      float z)
SGLglRotatef in interface SGLglRotatef in class ImmediateModeOGLRendererpublic void glScalef(float x,
                     float y,
                     float z)
SGLglScalef in interface SGLglScalef in class ImmediateModeOGLRendererpublic void glScissor(int x,
                      int y,
                      int width,
                      int height)
SGLglScissor in interface SGLglScissor in class ImmediateModeOGLRendererpublic void glTexEnvi(int target,
                      int mode,
                      int value)
SGLglTexEnvi in interface SGLglTexEnvi in class ImmediateModeOGLRendererpublic void glTranslatef(float x,
                         float y,
                         float z)
SGLglTranslatef in interface SGLglTranslatef in class ImmediateModeOGLRendererpublic void glEndList()
SGLglEndList in interface SGLglEndList in class ImmediateModeOGLRendererpublic void glNewList(int id,
                      int option)
SGLglNewList in interface SGLglNewList in class ImmediateModeOGLRendererpublic float[] getCurrentColor()
SGLgetCurrentColor in interface SGLgetCurrentColor in class ImmediateModeOGLRendererpublic void glLoadMatrix(java.nio.FloatBuffer buffer)
SGLglLoadMatrix in interface SGLglLoadMatrix in class ImmediateModeOGLRenderer