public interface SGL
| Modifier and Type | Field and Description | 
|---|---|
| static int | GL_ALWAYSOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_BGRAOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_BLENDOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_CLAMPOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_CLIP_PLANE0OpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_CLIP_PLANE1OpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_CLIP_PLANE2OpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_CLIP_PLANE3OpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_COLOR_BUFFER_BITOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_COLOR_CLEAR_VALUEOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_COLOR_SUM_EXTOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_COMPILEOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_COMPILE_AND_EXECUTEOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_DEPTH_BUFFER_BITOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_DEPTH_TESTOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_DST_ALPHAOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_EQUALOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_LINE_SMOOTHOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_LINE_STRIPOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_LINE_WIDTHOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_LINEAROpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_LINESOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_MAX_TEXTURE_SIZEOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_MIRROR_CLAMP_TO_EDGE_EXTOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_MODELVIEW_MATRIXOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_MODULATEOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_NEARESTOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_NOTEQUALOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_ONEOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_ONE_MINUS_DST_ALPHAOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_ONE_MINUS_SRC_ALPHAOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_ONE_MINUS_SRC_COLOROpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_POINT_SMOOTHOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_POINTSOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_POLYGON_SMOOTHOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_QUADSOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_RGBOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_RGBAOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_RGBA16OpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_RGBA8OpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_SCISSOR_TESTOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_SRC_ALPHAOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_SRC_COLOROpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TEXTURE_2DOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TEXTURE_ENVOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TEXTURE_ENV_MODEOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TEXTURE_MAG_FILTEROpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TEXTURE_MIN_FILTEROpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TEXTURE_WRAP_SOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TEXTURE_WRAP_TOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TRIANGLE_FANOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_TRIANGLESOpenGL Enum - @url http://www.opengl.org/documentation | 
| static int | GL_UNSIGNED_BYTEOpenGL Enum - @url http://www.opengl.org/documentation | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canSecondaryColor() | 
| boolean | canTextureMirrorClamp()Check if the mirror clamp extension is available | 
| void | enterOrtho(int xsize,
          int ysize)Enter orthographic mode | 
| 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 | glClearColor(float red,
            float green,
            float blue,
            float alpha)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glClearDepth(float 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 | glCopyTexImage2D(int target,
                int level,
                int internalFormat,
                int x,
                int y,
                int width,
                int height,
                int border)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glDeleteLists(int list,
             int count)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glDeleteTextures(java.nio.IntBuffer buffer)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glDepthFunc(int func)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glDepthMask(boolean mask)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/ | 
| int | glGenLists(int count)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glGenTextures(java.nio.IntBuffer ids)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glGetError()OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glGetFloat(int id,
          java.nio.FloatBuffer ret)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glGetInteger(int id,
            java.nio.IntBuffer ret)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glGetTexImage(int target,
             int level,
             int format,
             int type,
             java.nio.ByteBuffer pixels)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glLineWidth(float width)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glLoadIdentity()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 | glReadPixels(int x,
            int y,
            int width,
            int height,
            int format,
            int type,
            java.nio.ByteBuffer pixels)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 | glSecondaryColor3ubEXT(byte b,
                      byte c,
                      byte d) | 
| 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 | glTexImage2D(int target,
            int i,
            int dstPixelFormat,
            int get2Fold,
            int get2Fold2,
            int j,
            int srcPixelFormat,
            int glUnsignedByte,
            java.nio.ByteBuffer textureBuffer)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glTexParameteri(int target,
               int param,
               int value)OpenGL Method - @url http://www.opengl.org/documentation/ | 
| void | glTexSubImage2D(int glTexture2d,
               int i,
               int pageX,
               int pageY,
               int width,
               int height,
               int glBgra,
               int glUnsignedByte,
               java.nio.ByteBuffer scratchByteBuffer)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 | 
| void | setGlobalAlphaScale(float alphaScale)Set the scaling we'll apply to any colour binds in this renderer | 
static final int GL_TEXTURE_2D
static final int GL_RGBA
static final int GL_RGB
static final int GL_UNSIGNED_BYTE
static final int GL_LINEAR
static final int GL_NEAREST
static final int GL_TEXTURE_MIN_FILTER
static final int GL_TEXTURE_MAG_FILTER
static final int GL_POINT_SMOOTH
static final int GL_POLYGON_SMOOTH
static final int GL_LINE_SMOOTH
static final int GL_SCISSOR_TEST
static final int GL_MODULATE
static final int GL_TEXTURE_ENV
static final int GL_TEXTURE_ENV_MODE
static final int GL_QUADS
static final int GL_POINTS
static final int GL_LINES
static final int GL_LINE_STRIP
static final int GL_TRIANGLES
static final int GL_TRIANGLE_FAN
static final int GL_SRC_ALPHA
static final int GL_ONE
static final int GL_ONE_MINUS_DST_ALPHA
static final int GL_DST_ALPHA
static final int GL_ONE_MINUS_SRC_ALPHA
static final int GL_COMPILE
static final int GL_MAX_TEXTURE_SIZE
static final int GL_COLOR_BUFFER_BIT
static final int GL_DEPTH_BUFFER_BIT
static final int GL_BLEND
static final int GL_COLOR_CLEAR_VALUE
static final int GL_LINE_WIDTH
static final int GL_CLIP_PLANE0
static final int GL_CLIP_PLANE1
static final int GL_CLIP_PLANE2
static final int GL_CLIP_PLANE3
static final int GL_COMPILE_AND_EXECUTE
static final int GL_RGBA8
static final int GL_RGBA16
static final int GL_BGRA
static final int GL_MIRROR_CLAMP_TO_EDGE_EXT
static final int GL_TEXTURE_WRAP_S
static final int GL_TEXTURE_WRAP_T
static final int GL_CLAMP
static final int GL_COLOR_SUM_EXT
static final int GL_ALWAYS
static final int GL_DEPTH_TEST
static final int GL_NOTEQUAL
static final int GL_EQUAL
static final int GL_SRC_COLOR
static final int GL_ONE_MINUS_SRC_COLOR
static final int GL_MODELVIEW_MATRIX
void flush()
void initDisplay(int width,
                 int height)
width - The width of the displayheight - The height of the displayvoid enterOrtho(int xsize,
                int ysize)
xsize - The size of the ortho displayysize - The size of the ortho displayvoid glClearColor(float red,
                  float green,
                  float blue,
                  float alpha)
red - green - blue - alpha - void glClipPlane(int plane,
                 java.nio.DoubleBuffer buffer)
plane - buffer - void glScissor(int x,
               int y,
               int width,
               int height)
x - y - width - height - void glLineWidth(float width)
width - void glClear(int value)
value - void glColorMask(boolean red,
                 boolean green,
                 boolean blue,
                 boolean alpha)
red - green - blue - alpha - void glLoadIdentity()
void glGetInteger(int id,
                  java.nio.IntBuffer ret)
id - ret - void glGetFloat(int id,
                java.nio.FloatBuffer ret)
id - ret - void glEnable(int item)
item - void glDisable(int item)
item - void glBindTexture(int target,
                   int id)
target - id - void glGetTexImage(int target,
                   int level,
                   int format,
                   int type,
                   java.nio.ByteBuffer pixels)
target - level - format - type - pixels - void glDeleteTextures(java.nio.IntBuffer buffer)
buffer - void glColor4f(float r,
               float g,
               float b,
               float a)
r - g - b - a - void glTexCoord2f(float u,
                  float v)
u - v - void glVertex3f(float x,
                float y,
                float z)
x - y - z - void glVertex2f(float x,
                float y)
x - y - void glRotatef(float angle,
               float x,
               float y,
               float z)
angle - x - y - z - void glTranslatef(float x,
                  float y,
                  float z)
x - y - z - void glBegin(int geomType)
geomType - void glEnd()
void glTexEnvi(int target,
               int mode,
               int value)
target - mode - value - void glPointSize(float size)
size - void glScalef(float x,
              float y,
              float z)
x - y - z - void glPushMatrix()
void glPopMatrix()
void glBlendFunc(int src,
                 int dest)
src - dest - int glGenLists(int count)
count - void glNewList(int id,
               int option)
id - option - void glEndList()
void glCallList(int id)
id - void glCopyTexImage2D(int target,
                      int level,
                      int internalFormat,
                      int x,
                      int y,
                      int width,
                      int height,
                      int border)
target - level - internalFormat - x - y - width - height - border - void glReadPixels(int x,
                  int y,
                  int width,
                  int height,
                  int format,
                  int type,
                  java.nio.ByteBuffer pixels)
x - y - width - height - format - type - pixels - void glTexParameteri(int target,
                     int param,
                     int value)
target - param - value - float[] getCurrentColor()
void glDeleteLists(int list,
                   int count)
list - count - void glDepthMask(boolean mask)
mask - void glClearDepth(float value)
value - void glDepthFunc(int func)
func - void setGlobalAlphaScale(float alphaScale)
alphaScale - The scale to apply to any colour bindsvoid glLoadMatrix(java.nio.FloatBuffer buffer)
buffer - void glGenTextures(java.nio.IntBuffer ids)
ids - void glGetError()
void glTexImage2D(int target,
                  int i,
                  int dstPixelFormat,
                  int get2Fold,
                  int get2Fold2,
                  int j,
                  int srcPixelFormat,
                  int glUnsignedByte,
                  java.nio.ByteBuffer textureBuffer)
void glTexSubImage2D(int glTexture2d,
                     int i,
                     int pageX,
                     int pageY,
                     int width,
                     int height,
                     int glBgra,
                     int glUnsignedByte,
                     java.nio.ByteBuffer scratchByteBuffer)
boolean canTextureMirrorClamp()
boolean canSecondaryColor()
void glSecondaryColor3ubEXT(byte b,
                            byte c,
                            byte d)