All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.hermetica.magician.TemplateGL
java.lang.Object
   |
   +----com.hermetica.magician.TemplateGL

  Summary

public class  TemplateGL
     extends java.lang.Object
     implements com.hermetica.magician.GL
{
          // Fields 1
     public static final String VERSION;

          // Constructors 1
     public TemplateGL(GL);

          // Methods 690
     public final void accum(int, float) throws OpenGLException;
     public final void alphaFunc(int, float) throws OpenGLException;
     public final boolean areTexturesResident(int, int[], byte[]) throws OpenGLException;
     public final void arrayElement(int) throws OpenGLException;
     public final void begin(int) throws OpenGLException;
     public final void bindTexture(int, int) throws OpenGLException;
     public final void bitmap(int, int, float, float, float, float, byte[]) throws OpenGLException;
     public final void blendFunc(int, int) throws OpenGLException;
     public final void callList(int) throws OpenGLException;
     public final void clear(int) throws OpenGLException;
     public final void clearAccum(float, float, float, float) throws OpenGLException;
     public final void clearColor(float, float, float, float) throws OpenGLException;
     public final void clearDepth(double) throws OpenGLException;
     public final void clearIndex(float) throws OpenGLException;
     public final void clearStencil(int) throws OpenGLException;
     public final void clipPlane(int, double[]) throws OpenGLException;
     public final void color(byte, byte, byte) throws OpenGLException;
     public final void color(byte, byte, byte, byte) throws OpenGLException;
     public final void color(byte[]) throws OpenGLException;
     public final void color(double, double, double) throws OpenGLException;
     public final void color(double, double, double, double) throws OpenGLException;
     public final void color(double[]) throws OpenGLException;
     public final void color(float, float, float) throws OpenGLException;
     public final void color(float, float, float, float) throws OpenGLException;
     public final void color(float[]) throws OpenGLException;
     public final void color(int, int, int) throws OpenGLException;
     public final void color(int, int, int, int) throws OpenGLException;
     public final void color(int[]) throws OpenGLException;
     public final void color(short, short, short) throws OpenGLException;
     public final void color(short, short, short, short) throws OpenGLException;
     public final void color(short[]) throws OpenGLException;
     public final void colorMask(boolean, boolean, boolean, boolean) throws OpenGLException;
     public final void colorMask(byte, byte, byte, byte) throws OpenGLException;
     public final void colorMask(int, int, int, int) throws OpenGLException;
     public final void colorMaterial(int, int) throws OpenGLException;
     public final void copyPixels(int, int, int, int, int) throws OpenGLException;
     public final void copyTexImage1D(int, int, int, int, int, int, int) throws OpenGLException;
     public final void copyTexImage2D(int, int, int, int, int, int, int, int) throws OpenGLException;
     public final void copyTexSubImage1D(int, int, int, int, int, int) throws OpenGLException;
     public final void copyTexSubImage2D(int, int, int, int, int, int, int, int) throws OpenGLException;
     public final void cullFace(int) throws OpenGLException;
     public final void deleteLists(int, int) throws OpenGLException;
     public final void deleteTextures(int, int[]) throws OpenGLException;
     public final void depthFunc(int) throws OpenGLException;
     public final void depthMask(boolean) throws OpenGLException;
     public final void depthMask(byte) throws OpenGLException;
     public final void depthMask(int) throws OpenGLException;
     public final void depthRange(double, double) throws OpenGLException;
     public final void disable(int) throws OpenGLException;
     public final void disableClientState(int) throws OpenGLException;
     public void display(String, Vector);
     public final void drawArrays(int, int, int) throws OpenGLException;
     public final void drawBuffer(int) throws OpenGLException;
     public final void edgeFlag(boolean) throws OpenGLException;
     public final void edgeFlag(boolean[]) throws OpenGLException;
     public final void edgeFlag(byte) throws OpenGLException;
     public final void edgeFlag(byte[]) throws OpenGLException;
     public final void edgeFlag(int) throws OpenGLException;
     public final void edgeFlag(int[]) throws OpenGLException;
     public final void edgeFlagPointer(int, boolean[]) throws OpenGLException;
     public final void enable(int) throws OpenGLException;
     public final void enableClientState(int) throws OpenGLException;
     public final void end() throws OpenGLException;
     public final void endList() throws OpenGLException;
     public final void evalMesh(int, int, int) throws OpenGLException;
     public final void evalMesh(int, int, int, int, int) throws OpenGLException;
     public final void evalPoint(int) throws OpenGLException;
     public final void evalPoint(int, int) throws OpenGLException;
     public final void feedbackBuffer(int, int, float[]) throws OpenGLException;
     public final void finish() throws OpenGLException;
     public final void flush() throws OpenGLException;
     public final void fog(int, float) throws OpenGLException;
     public final void fog(int, float[]) throws OpenGLException;
     public final void fog(int, int) throws OpenGLException;
     public final void fog(int, int[]) throws OpenGLException;
     public final void frontFace(int) throws OpenGLException;
     public final void frustum(double, double, double, double, double, double) throws OpenGLException;
     public final int genLists(int) throws OpenGLException;
     public final void genTextures(int, int[]) throws OpenGLException;
     public final void getBoolean(int, boolean[]) throws OpenGLException;
     public final void getClipPlane(int, double[]) throws OpenGLException;
     public final void getDouble(int, double[]) throws OpenGLException;
     public final int getError() throws OpenGLException;
     public final void getFloat(int, float[]) throws OpenGLException;
     public final void getInteger(int, int[]) throws OpenGLException;
     public final void getLight(int, int, float[]) throws OpenGLException;
     public final void getLight(int, int, int[]) throws OpenGLException;
     public final void getMap(int, int, double[]) throws OpenGLException;
     public final void getMap(int, int, float[]) throws OpenGLException;
     public final void getMap(int, int, int[]) throws OpenGLException;
     public final void getMaterial(int, int, float[]) throws OpenGLException;
     public final void getMaterial(int, int, int[]) throws OpenGLException;
     public int getMode();
     public GL getParent();
     public final void getPixelMap(int, float[]) throws OpenGLException;
     public final void getPixelMap(int, int[]) throws OpenGLException;
     public final void getPixelMap(int, short[]) throws OpenGLException;
     public final void getPolygonStipple(byte[]) throws OpenGLException;
     public final String getString(int) throws OpenGLException;
     public final void getTexEnv(int, int, float[]) throws OpenGLException;
     public final void getTexEnv(int, int, int[]) throws OpenGLException;
     public final void getTexGen(int, int, double[]) throws OpenGLException;
     public final void getTexGen(int, int, float[]) throws OpenGLException;
     public final void getTexGen(int, int, int[]) throws OpenGLException;
     public final void getTexLevelParameter(int, int, int, float[]) throws OpenGLException;
     public final void getTexLevelParameter(int, int, int, int[]) throws OpenGLException;
     public final void getTexParameter(int, int, float[]) throws OpenGLException;
     public final void getTexParameter(int, int, int[]) throws OpenGLException;
     public final void glAccum(int, float) throws OpenGLException;
     public final void glAlphaFunc(int, float) throws OpenGLException;
     public final boolean glAreTexturesResident(int, int[], byte[]) throws OpenGLException;
     public final void glArrayElement(int) throws OpenGLException;
     public final void glBegin(int) throws OpenGLException;
     public final void glBindTexture(int, int) throws OpenGLException;
     public final void glBitmap(int, int, float, float, float, float, byte[]) throws OpenGLException;
     public final void glBlendFunc(int, int) throws OpenGLException;
     public final void glCallList(int) throws OpenGLException;
     public final void glCallLists(int, int, byte[]) throws OpenGLException;
     public final void glCallLists(int, int, int[]) throws OpenGLException;
     public final void glCallLists(int, int, short[]) throws OpenGLException;
     public final void glClear(int) throws OpenGLException;
     public final void glClearAccum(float, float, float, float) throws OpenGLException;
     public final void glClearColor(float, float, float, float) throws OpenGLException;
     public final void glClearDepth(double) throws OpenGLException;
     public final void glClearIndex(float) throws OpenGLException;
     public final void glClearStencil(int) throws OpenGLException;
     public final void glClipPlane(int, double[]) throws OpenGLException;
     public final void glColor3b(byte, byte, byte) throws OpenGLException;
     public final void glColor3bv(byte[]) throws OpenGLException;
     public final void glColor3d(double, double, double) throws OpenGLException;
     public final void glColor3dv(double[]) throws OpenGLException;
     public final void glColor3f(float, float, float) throws OpenGLException;
     public final void glColor3fv(float[]) throws OpenGLException;
     public final void glColor3i(int, int, int) throws OpenGLException;
     public final void glColor3iv(int[]) throws OpenGLException;
     public final void glColor3s(short, short, short) throws OpenGLException;
     public final void glColor3sv(short[]) throws OpenGLException;
     public final void glColor3ub(byte, byte, byte) throws OpenGLException;
     public final void glColor3ubv(byte[]) throws OpenGLException;
     public final void glColor3ui(int, int, int) throws OpenGLException;
     public final void glColor3uiv(int[]) throws OpenGLException;
     public final void glColor3us(short, short, short) throws OpenGLException;
     public final void glColor3usv(short[]) throws OpenGLException;
     public final void glColor4b(byte, byte, byte, byte) throws OpenGLException;
     public final void glColor4bv(byte[]) throws OpenGLException;
     public final void glColor4d(double, double, double, double) throws OpenGLException;
     public final void glColor4dv(double[]) throws OpenGLException;
     public final void glColor4f(float, float, float, float) throws OpenGLException;
     public final void glColor4fv(float[]) throws OpenGLException;
     public final void glColor4i(int, int, int, int) throws OpenGLException;
     public final void glColor4iv(int[]) throws OpenGLException;
     public final void glColor4s(short, short, short, short) throws OpenGLException;
     public final void glColor4sv(short[]) throws OpenGLException;
     public final void glColor4ub(byte, byte, byte, byte) throws OpenGLException;
     public final void glColor4ubv(byte[]) throws OpenGLException;
     public final void glColor4ui(int, int, int, int) throws OpenGLException;
     public final void glColor4uiv(int[]) throws OpenGLException;
     public final void glColor4us(short, short, short, short) throws OpenGLException;
     public final void glColor4usv(short[]) throws OpenGLException;
     public final void glColorMask(boolean, boolean, boolean, boolean) throws OpenGLException;
     public final void glColorMask(byte, byte, byte, byte) throws OpenGLException;
     public final void glColorMask(int, int, int, int) throws OpenGLException;
     public final void glColorMaterial(int, int) throws OpenGLException;
     public final void glColorPointer(int, int, int, byte[]) throws OpenGLException;
     public final void glColorPointer(int, int, int, double[]) throws OpenGLException;
     public final void glColorPointer(int, int, int, float[]) throws OpenGLException;
     public final void glColorPointer(int, int, int, int[]) throws OpenGLException;
     public final void glColorPointer(int, int, int, short[]) throws OpenGLException;
     public final void glCopyPixels(int, int, int, int, int) throws OpenGLException;
     public final void glCopyTexImage1D(int, int, int, int, int, int, int) throws OpenGLException;
     public final void glCopyTexImage2D(int, int, int, int, int, int, int, int) throws OpenGLException;
     public final void glCopyTexSubImage1D(int, int, int, int, int, int) throws OpenGLException;
     public final void glCopyTexSubImage2D(int, int, int, int, int, int, int, int) throws OpenGLException;
     public final void glCullFace(int) throws OpenGLException;
     public final void glDeleteLists(int, int) throws OpenGLException;
     public final void glDeleteTextures(int, int[]) throws OpenGLException;
     public final void glDepthFunc(int) throws OpenGLException;
     public final void glDepthMask(boolean) throws OpenGLException;
     public final void glDepthMask(byte) throws OpenGLException;
     public final void glDepthMask(int) throws OpenGLException;
     public final void glDepthRange(double, double) throws OpenGLException;
     public final void glDisable(int) throws OpenGLException;
     public final void glDisableClientState(int) throws OpenGLException;
     public final void glDrawArrays(int, int, int) throws OpenGLException;
     public final void glDrawBuffer(int) throws OpenGLException;
     public final void glDrawElements(int, int, int, byte[]) throws OpenGLException;
     public final void glDrawElements(int, int, int, int[]) throws OpenGLException;
     public final void glDrawElements(int, int, int, short[]) throws OpenGLException;
     public final void glDrawPixels(int, int, int, int, byte[]) throws OpenGLException;
     public final void glDrawPixels(int, int, int, int, float[]) throws OpenGLException;
     public final void glDrawPixels(int, int, int, int, int[]) throws OpenGLException;
     public final void glDrawPixels(int, int, int, int, short[]) throws OpenGLException;
     public final void glEdgeFlag(boolean) throws OpenGLException;
     public final void glEdgeFlag(byte) throws OpenGLException;
     public final void glEdgeFlag(int) throws OpenGLException;
     public final void glEdgeFlagPointer(int, boolean[]) throws OpenGLException;
     public final void glEdgeFlagv(boolean[]) throws OpenGLException;
     public final void glEdgeFlagv(byte[]) throws OpenGLException;
     public final void glEdgeFlagv(int[]) throws OpenGLException;
     public final void glEnable(int) throws OpenGLException;
     public final void glEnableClientState(int) throws OpenGLException;
     public final void glEnd() throws OpenGLException;
     public final void glEndList() throws OpenGLException;
     public final void glEvalCoord1d(double) throws OpenGLException;
     public final void glEvalCoord1dv(double[]) throws OpenGLException;
     public final void glEvalCoord1f(float) throws OpenGLException;
     public final void glEvalCoord1fv(float[]) throws OpenGLException;
     public final void glEvalCoord2d(double, double) throws OpenGLException;
     public final void glEvalCoord2dv(double[]) throws OpenGLException;
     public final void glEvalCoord2f(float, float) throws OpenGLException;
     public final void glEvalCoord2fv(float[]) throws OpenGLException;
     public final void glEvalMesh1(int, int, int) throws OpenGLException;
     public final void glEvalMesh2(int, int, int, int, int) throws OpenGLException;
     public final void glEvalPoint1(int) throws OpenGLException;
     public final void glEvalPoint2(int, int) throws OpenGLException;
     public final void glFeedbackBuffer(int, int, float[]) throws OpenGLException;
     public final void glFinish() throws OpenGLException;
     public final void glFlush() throws OpenGLException;
     public final void glFogf(int, float) throws OpenGLException;
     public final void glFogfv(int, float[]) throws OpenGLException;
     public final void glFogi(int, int) throws OpenGLException;
     public final void glFogiv(int, int[]) throws OpenGLException;
     public final void glFrontFace(int) throws OpenGLException;
     public final void glFrustum(double, double, double, double, double, double) throws OpenGLException;
     public final int glGenLists(int) throws OpenGLException;
     public final void glGenTextures(int, int[]) throws OpenGLException;
     public final void glGetBooleanv(int, boolean[]) throws OpenGLException;
     public final void glGetClipPlane(int, double[]) throws OpenGLException;
     public final void glGetDoublev(int, double[]) throws OpenGLException;
     public final int glGetError() throws OpenGLException;
     public final void glGetFloatv(int, float[]) throws OpenGLException;
     public final void glGetIntegerv(int, int[]) throws OpenGLException;
     public final void glGetLightfv(int, int, float[]) throws OpenGLException;
     public final void glGetLightiv(int, int, int[]) throws OpenGLException;
     public final void glGetMapdv(int, int, double[]) throws OpenGLException;
     public final void glGetMapfv(int, int, float[]) throws OpenGLException;
     public final void glGetMapiv(int, int, int[]) throws OpenGLException;
     public final void glGetMaterialfv(int, int, float[]) throws OpenGLException;
     public final void glGetMaterialiv(int, int, int[]) throws OpenGLException;
     public final void glGetPixelMapfv(int, float[]) throws OpenGLException;
     public final void glGetPixelMapuiv(int, int[]) throws OpenGLException;
     public final void glGetPixelMapusv(int, short[]) throws OpenGLException;
     public final void glGetPolygonStipple(byte[]) throws OpenGLException;
     public final String glGetString(int) throws OpenGLException;
     public final void glGetTexEnvfv(int, int, float[]) throws OpenGLException;
     public final void glGetTexEnviv(int, int, int[]) throws OpenGLException;
     public final void glGetTexGendv(int, int, double[]) throws OpenGLException;
     public final void glGetTexGenfv(int, int, float[]) throws OpenGLException;
     public final void glGetTexGeniv(int, int, int[]) throws OpenGLException;
     public final void glGetTexImage(int, int, int, int, byte[]) throws OpenGLException;
     public final void glGetTexImage(int, int, int, int, float[]) throws OpenGLException;
     public final void glGetTexImage(int, int, int, int, int[]) throws OpenGLException;
     public final void glGetTexImage(int, int, int, int, short[]) throws OpenGLException;
     public final void glGetTexLevelParameterfv(int, int, int, float[]) throws OpenGLException;
     public final void glGetTexLevelParameteriv(int, int, int, int[]) throws OpenGLException;
     public final void glGetTexParameterfv(int, int, float[]) throws OpenGLException;
     public final void glGetTexParameteriv(int, int, int[]) throws OpenGLException;
     public final void glHint(int, int) throws OpenGLException;
     public final void glIndexMask(int) throws OpenGLException;
     public final void glIndexPointer(int, int, byte[]) throws OpenGLException;
     public final void glIndexPointer(int, int, double[]) throws OpenGLException;
     public final void glIndexPointer(int, int, float[]) throws OpenGLException;
     public final void glIndexPointer(int, int, int[]) throws OpenGLException;
     public final void glIndexPointer(int, int, short[]) throws OpenGLException;
     public final void glIndexd(double) throws OpenGLException;
     public final void glIndexdv(double[]) throws OpenGLException;
     public final void glIndexf(float) throws OpenGLException;
     public final void glIndexfv(float[]) throws OpenGLException;
     public final void glIndexi(int) throws OpenGLException;
     public final void glIndexiv(int[]) throws OpenGLException;
     public final void glIndexs(short) throws OpenGLException;
     public final void glIndexsv(short[]) throws OpenGLException;
     public final void glIndexub(byte) throws OpenGLException;
     public final void glIndexubv(byte[]) throws OpenGLException;
     public final void glInitNames() throws OpenGLException;
     public final void glInterleavedArrays(int, int, float[]) throws OpenGLException;
     public final boolean glIsEnabled(int) throws OpenGLException;
     public final boolean glIsList(int) throws OpenGLException;
     public final boolean glIsTexture(int) throws OpenGLException;
     public final void glLightModelf(int, float) throws OpenGLException;
     public final void glLightModelfv(int, float[]) throws OpenGLException;
     public final void glLightModeli(int, int) throws OpenGLException;
     public final void glLightModeliv(int, int[]) throws OpenGLException;
     public final void glLightf(int, int, float) throws OpenGLException;
     public final void glLightfv(int, int, float[]) throws OpenGLException;
     public final void glLighti(int, int, int) throws OpenGLException;
     public final void glLightiv(int, int, int[]) throws OpenGLException;
     public final void glLineStipple(int, short) throws OpenGLException;
     public final void glLineWidth(float) throws OpenGLException;
     public final void glListBase(int) throws OpenGLException;
     public final void glLoadIdentity() throws OpenGLException;
     public final void glLoadMatrixd(double[]) throws OpenGLException;
     public final void glLoadMatrixf(float[]) throws OpenGLException;
     public final void glLoadName(int) throws OpenGLException;
     public final void glLogicOp(int) throws OpenGLException;
     public final void glMap1d(int, double, double, int, int, double[][]) throws OpenGLException;
     public final void glMap1f(int, float, float, int, int, float[][]) throws OpenGLException;
     public final void glMap2d(int, float, float, int, int, float, float, int, int, double[][][]) throws OpenGLException;
     public final void glMap2f(int, float, float, int, int, float, float, int, int, float[][][]) throws OpenGLException;
     public final void glMapGrid1d(int, double, double) throws OpenGLException;
     public final void glMapGrid1f(int, float, float) throws OpenGLException;
     public final void glMapGrid2d(int, double, double, int, double, double) throws OpenGLException;
     public final void glMapGrid2f(int, float, float, int, float, float) throws OpenGLException;
     public final void glMaterialf(int, int, float) throws OpenGLException;
     public final void glMaterialfv(int, int, float[]) throws OpenGLException;
     public final void glMateriali(int, int, int) throws OpenGLException;
     public final void glMaterialiv(int, int, int[]) throws OpenGLException;
     public final void glMatrixMode(int) throws OpenGLException;
     public final void glMultMatrixd(double[]) throws OpenGLException;
     public final void glMultMatrixd(double[][]) throws OpenGLException;
     public final void glMultMatrixf(float[]) throws OpenGLException;
     public final void glMultMatrixf(float[][]) throws OpenGLException;
     public final void glNewList(int, int) throws OpenGLException;
     public final void glNormal3b(byte, byte, byte) throws OpenGLException;
     public final void glNormal3bv(byte[]) throws OpenGLException;
     public final void glNormal3d(double, double, double) throws OpenGLException;
     public final void glNormal3dv(double[]) throws OpenGLException;
     public final void glNormal3f(float, float, float) throws OpenGLException;
     public final void glNormal3fv(float[]) throws OpenGLException;
     public final void glNormal3i(int, int, int) throws OpenGLException;
     public final void glNormal3iv(int[]) throws OpenGLException;
     public final void glNormal3s(short, short, short) throws OpenGLException;
     public final void glNormal3sv(short[]) throws OpenGLException;
     public final void glNormalPointer(int, int, byte[]) throws OpenGLException;
     public final void glNormalPointer(int, int, double[]) throws OpenGLException;
     public final void glNormalPointer(int, int, float[]) throws OpenGLException;
     public final void glNormalPointer(int, int, int[]) throws OpenGLException;
     public final void glNormalPointer(int, int, short[]) throws OpenGLException;
     public final void glOrtho(double, double, double, double, double, double) throws OpenGLException;
     public final void glPassThrough(float) throws OpenGLException;
     public final void glPixelMapfv(int, int, float[]) throws OpenGLException;
     public final void glPixelMapuiv(int, int, int[]) throws OpenGLException;
     public final void glPixelMapusv(int, int, short[]) throws OpenGLException;
     public final void glPixelStoref(int, float) throws OpenGLException;
     public final void glPixelStorei(int, int) throws OpenGLException;
     public final void glPixelTransferf(int, float) throws OpenGLException;
     public final void glPixelTransferi(int, int) throws OpenGLException;
     public final void glPixelZoom(float, float) throws OpenGLException;
     public final void glPointSize(float) throws OpenGLException;
     public final void glPolygonMode(int, int) throws OpenGLException;
     public final void glPolygonOffset(float, float) throws OpenGLException;
     public final void glPolygonStipple(byte[]) throws OpenGLException;
     public final void glPopAttrib() throws OpenGLException;
     public final void glPopClientAttrib() throws OpenGLException;
     public final void glPopMatrix() throws OpenGLException;
     public final void glPopName() throws OpenGLException;
     public final void glPrioritizeTextures(int, int[], float[]) throws OpenGLException;
     public final void glPushAttrib(int) throws OpenGLException;
     public final void glPushClientAttrib(int) throws OpenGLException;
     public final void glPushMatrix() throws OpenGLException;
     public final void glPushName(int) throws OpenGLException;
     public final void glRasterPos2d(double, double) throws OpenGLException;
     public final void glRasterPos2dv(double[]) throws OpenGLException;
     public final void glRasterPos2f(float, float) throws OpenGLException;
     public final void glRasterPos2fv(float[]) throws OpenGLException;
     public final void glRasterPos2i(int, int) throws OpenGLException;
     public final void glRasterPos2iv(int[]) throws OpenGLException;
     public final void glRasterPos2s(short, short) throws OpenGLException;
     public final void glRasterPos2sv(short[]) throws OpenGLException;
     public final void glRasterPos3d(double, double, double) throws OpenGLException;
     public final void glRasterPos3dv(double[]) throws OpenGLException;
     public final void glRasterPos3f(float, float, float) throws OpenGLException;
     public final void glRasterPos3fv(float[]) throws OpenGLException;
     public final void glRasterPos3i(int, int, int) throws OpenGLException;
     public final void glRasterPos3iv(int[]) throws OpenGLException;
     public final void glRasterPos3s(short, short, short) throws OpenGLException;
     public final void glRasterPos3sv(short[]) throws OpenGLException;
     public final void glRasterPos4d(double, double, double, double) throws OpenGLException;
     public final void glRasterPos4dv(double[]) throws OpenGLException;
     public final void glRasterPos4f(float, float, float, float) throws OpenGLException;
     public final void glRasterPos4fv(float[]) throws OpenGLException;
     public final void glRasterPos4i(int, int, int, int) throws OpenGLException;
     public final void glRasterPos4iv(int[]) throws OpenGLException;
     public final void glRasterPos4s(short, short, short, short) throws OpenGLException;
     public final void glRasterPos4sv(short[]) throws OpenGLException;
     public final void glReadBuffer(int) throws OpenGLException;
     public final void glReadPixels(int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void glReadPixels(int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void glReadPixels(int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void glReadPixels(int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void glRectd(double, double, double, double) throws OpenGLException;
     public final void glRectdv(double[], double[]) throws OpenGLException;
     public final void glRectf(float, float, float, float) throws OpenGLException;
     public final void glRectfv(float[], float[]) throws OpenGLException;
     public final void glRecti(int, int, int, int) throws OpenGLException;
     public final void glRectiv(int[], int[]) throws OpenGLException;
     public final void glRects(short, short, short, short) throws OpenGLException;
     public final void glRectsv(short[], short[]) throws OpenGLException;
     public final int glRenderMode(int) throws OpenGLException;
     public final void glRotated(double, double, double, double) throws OpenGLException;
     public final void glRotatef(float, float, float, float) throws OpenGLException;
     public final void glScaled(double, double, double) throws OpenGLException;
     public final void glScalef(float, float, float) throws OpenGLException;
     public final void glScissor(int, int, int, int) throws OpenGLException;
     public final void glSelectBuffer(int, int[]) throws OpenGLException;
     public final void glShadeModel(int) throws OpenGLException;
     public final void glStencilFunc(int, int, int) throws OpenGLException;
     public final void glStencilMask(int) throws OpenGLException;
     public final void glStencilOp(int, int, int) throws OpenGLException;
     public final void glTexCoord1d(double) throws OpenGLException;
     public final void glTexCoord1dv(double[]) throws OpenGLException;
     public final void glTexCoord1f(float) throws OpenGLException;
     public final void glTexCoord1fv(float[]) throws OpenGLException;
     public final void glTexCoord1i(int) throws OpenGLException;
     public final void glTexCoord1iv(int[]) throws OpenGLException;
     public final void glTexCoord1s(short) throws OpenGLException;
     public final void glTexCoord1sv(short[]) throws OpenGLException;
     public final void glTexCoord2d(double, double) throws OpenGLException;
     public final void glTexCoord2dv(double[]) throws OpenGLException;
     public final void glTexCoord2f(float, float) throws OpenGLException;
     public final void glTexCoord2fv(float[]) throws OpenGLException;
     public final void glTexCoord2i(int, int) throws OpenGLException;
     public final void glTexCoord2iv(int[]) throws OpenGLException;
     public final void glTexCoord2s(short, short) throws OpenGLException;
     public final void glTexCoord2sv(short[]) throws OpenGLException;
     public final void glTexCoord3d(double, double, double) throws OpenGLException;
     public final void glTexCoord3dv(double[]) throws OpenGLException;
     public final void glTexCoord3f(float, float, float) throws OpenGLException;
     public final void glTexCoord3fv(float[]) throws OpenGLException;
     public final void glTexCoord3i(int, int, int) throws OpenGLException;
     public final void glTexCoord3iv(int[]) throws OpenGLException;
     public final void glTexCoord3s(short, short, short) throws OpenGLException;
     public final void glTexCoord3sv(short[]) throws OpenGLException;
     public final void glTexCoord4d(double, double, double, double) throws OpenGLException;
     public final void glTexCoord4dv(double[]) throws OpenGLException;
     public final void glTexCoord4f(float, float, float, float) throws OpenGLException;
     public final void glTexCoord4fv(float[]) throws OpenGLException;
     public final void glTexCoord4i(int, int, int, int) throws OpenGLException;
     public final void glTexCoord4iv(int[]) throws OpenGLException;
     public final void glTexCoord4s(short, short, short, short) throws OpenGLException;
     public final void glTexCoord4sv(short[]) throws OpenGLException;
     public final void glTexCoordPointer(int, int, int, double[]) throws OpenGLException;
     public final void glTexCoordPointer(int, int, int, float[]) throws OpenGLException;
     public final void glTexCoordPointer(int, int, int, int[]) throws OpenGLException;
     public final void glTexCoordPointer(int, int, int, short[]) throws OpenGLException;
     public final void glTexEnvf(int, int, float) throws OpenGLException;
     public final void glTexEnvfv(int, int, float[]) throws OpenGLException;
     public final void glTexEnvi(int, int, int) throws OpenGLException;
     public final void glTexEnviv(int, int, int[]) throws OpenGLException;
     public final void glTexGend(int, int, double) throws OpenGLException;
     public final void glTexGendv(int, int, double[]) throws OpenGLException;
     public final void glTexGenf(int, int, float) throws OpenGLException;
     public final void glTexGenfv(int, int, float[]) throws OpenGLException;
     public final void glTexGeni(int, int, int) throws OpenGLException;
     public final void glTexGeniv(int, int, int[]) throws OpenGLException;
     public final void glTexImage1D(int, int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void glTexImage1D(int, int, int, int, int, int, int, byte[][]) throws OpenGLException;
     public final void glTexImage1D(int, int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void glTexImage1D(int, int, int, int, int, int, int, float[][]) throws OpenGLException;
     public final void glTexImage1D(int, int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void glTexImage1D(int, int, int, int, int, int, int, int[][]) throws OpenGLException;
     public final void glTexImage1D(int, int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void glTexImage1D(int, int, int, int, int, int, int, short[][]) throws OpenGLException;
     public final void glTexImage2D(int, int, int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void glTexImage2D(int, int, int, int, int, int, int, int, byte[][][]) throws OpenGLException;
     public final void glTexImage2D(int, int, int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void glTexImage2D(int, int, int, int, int, int, int, int, float[][][]) throws OpenGLException;
     public final void glTexImage2D(int, int, int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void glTexImage2D(int, int, int, int, int, int, int, int, int[][][]) throws OpenGLException;
     public final void glTexImage2D(int, int, int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void glTexImage2D(int, int, int, int, int, int, int, int, short[][][]) throws OpenGLException;
     public final void glTexParameterf(int, int, float) throws OpenGLException;
     public final void glTexParameterfv(int, int, float[]) throws OpenGLException;
     public final void glTexParameteri(int, int, int) throws OpenGLException;
     public final void glTexParameteriv(int, int, int[]) throws OpenGLException;
     public final void glTexSubImage1D(int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void glTexSubImage1D(int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void glTexSubImage1D(int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void glTexSubImage1D(int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void glTexSubImage2D(int, int, int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void glTexSubImage2D(int, int, int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void glTexSubImage2D(int, int, int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void glTexSubImage2D(int, int, int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void glTranslated(double, double, double) throws OpenGLException;
     public final void glTranslatef(float, float, float) throws OpenGLException;
     public final void glVertex2d(double, double) throws OpenGLException;
     public final void glVertex2dv(double[]) throws OpenGLException;
     public final void glVertex2f(float, float) throws OpenGLException;
     public final void glVertex2fv(float[]) throws OpenGLException;
     public final void glVertex2i(int, int) throws OpenGLException;
     public final void glVertex2iv(int[]) throws OpenGLException;
     public final void glVertex2s(short, short) throws OpenGLException;
     public final void glVertex2sv(short[]) throws OpenGLException;
     public final void glVertex3d(double, double, double) throws OpenGLException;
     public final void glVertex3dv(double[]) throws OpenGLException;
     public final void glVertex3f(float, float, float) throws OpenGLException;
     public final void glVertex3fv(float[]) throws OpenGLException;
     public final void glVertex3i(int, int, int) throws OpenGLException;
     public final void glVertex3iv(int[]) throws OpenGLException;
     public final void glVertex3s(short, short, short) throws OpenGLException;
     public final void glVertex3sv(short[]) throws OpenGLException;
     public final void glVertex4d(double, double, double, double) throws OpenGLException;
     public final void glVertex4dv(double[]) throws OpenGLException;
     public final void glVertex4f(float, float, float, float) throws OpenGLException;
     public final void glVertex4fv(float[]) throws OpenGLException;
     public final void glVertex4i(int, int, int, int) throws OpenGLException;
     public final void glVertex4iv(int[]) throws OpenGLException;
     public final void glVertex4s(short, short, short, short) throws OpenGLException;
     public final void glVertex4sv(short[]) throws OpenGLException;
     public final void glVertexPointer(int, int, int, double[]) throws OpenGLException;
     public final void glVertexPointer(int, int, int, float[]) throws OpenGLException;
     public final void glVertexPointer(int, int, int, int[]) throws OpenGLException;
     public final void glVertexPointer(int, int, int, short[]) throws OpenGLException;
     public final void glViewport(GLDrawable, int, int, int, int) throws OpenGLException;
     public final void hint(int, int) throws OpenGLException;
     public final void index(byte) throws OpenGLException;
     public final void index(byte[]) throws OpenGLException;
     public final void index(double) throws OpenGLException;
     public final void index(double[]) throws OpenGLException;
     public final void index(float) throws OpenGLException;
     public final void index(float[]) throws OpenGLException;
     public final void index(int) throws OpenGLException;
     public final void index(int[]) throws OpenGLException;
     public final void index(short) throws OpenGLException;
     public final void index(short[]) throws OpenGLException;
     public final void indexMask(int) throws OpenGLException;
     public final void initNames() throws OpenGLException;
     public final boolean isEnabled(int) throws OpenGLException;
     public final boolean isList(int) throws OpenGLException;
     public final boolean isTexture(int) throws OpenGLException;
     public final void light(int, int, float) throws OpenGLException;
     public final void light(int, int, float[]) throws OpenGLException;
     public final void light(int, int, int) throws OpenGLException;
     public final void light(int, int, int[]) throws OpenGLException;
     public final void lightModel(int, float) throws OpenGLException;
     public final void lightModel(int, float[]) throws OpenGLException;
     public final void lightModel(int, int) throws OpenGLException;
     public final void lightModel(int, int[]) throws OpenGLException;
     public final void lineStipple(int, short) throws OpenGLException;
     public final void lineWidth(float) throws OpenGLException;
     public final void listBase(int) throws OpenGLException;
     public final void loadIdentity() throws OpenGLException;
     public final void loadMatrix(double[]) throws OpenGLException;
     public final void loadMatrix(float[]) throws OpenGLException;
     public final void loadName(int) throws OpenGLException;
     public final void logicOp(int) throws OpenGLException;
     public final void mapGrid(int, double, double) throws OpenGLException;
     public final void mapGrid(int, double, double, int, double, double) throws OpenGLException;
     public final void mapGrid(int, float, float) throws OpenGLException;
     public final void mapGrid(int, float, float, int, float, float) throws OpenGLException;
     public final void material(int, int, float) throws OpenGLException;
     public final void material(int, int, float[]) throws OpenGLException;
     public final void material(int, int, int) throws OpenGLException;
     public final void material(int, int, int[]) throws OpenGLException;
     public final void matrixMode(int) throws OpenGLException;
     public final void multMatrix(double[]) throws OpenGLException;
     public final void multMatrix(double[][]) throws OpenGLException;
     public final void multMatrix(float[]) throws OpenGLException;
     public final void multMatrix(float[][]) throws OpenGLException;
     public final void newList(int, int) throws OpenGLException;
     public final void normal(byte, byte, byte) throws OpenGLException;
     public final void normal(byte[]) throws OpenGLException;
     public final void normal(double, double, double) throws OpenGLException;
     public final void normal(double[]) throws OpenGLException;
     public final void normal(float, float, float) throws OpenGLException;
     public final void normal(float[]) throws OpenGLException;
     public final void normal(int, int, int) throws OpenGLException;
     public final void normal(int[]) throws OpenGLException;
     public final void normal(short, short, short) throws OpenGLException;
     public final void normal(short[]) throws OpenGLException;
     public final void ortho(double, double, double, double, double, double) throws OpenGLException;
     public final void passThrough(float) throws OpenGLException;
     public final void pixelMap(int, int, float[]) throws OpenGLException;
     public final void pixelMap(int, int, int[]) throws OpenGLException;
     public final void pixelMap(int, int, short[]) throws OpenGLException;
     public final void pixelStore(int, float) throws OpenGLException;
     public final void pixelStore(int, int) throws OpenGLException;
     public final void pixelTransfer(int, float) throws OpenGLException;
     public final void pixelTransfer(int, int) throws OpenGLException;
     public final void pixelZoom(float, float) throws OpenGLException;
     public final void pointSize(float) throws OpenGLException;
     public final void polygonMode(int, int) throws OpenGLException;
     public final void polygonOffset(float, float) throws OpenGLException;
     public final void polygonStipple(byte[]) throws OpenGLException;
     public final void popAttrib() throws OpenGLException;
     public final void popClientAttrib() throws OpenGLException;
     public final void popMatrix() throws OpenGLException;
     public final void popName() throws OpenGLException;
     public final void prioritizeTextures(int, int[], float[]) throws OpenGLException;
     public final void pushAttrib(int) throws OpenGLException;
     public final void pushClientAttrib(int) throws OpenGLException;
     public final void pushMatrix() throws OpenGLException;
     public final void pushName(int) throws OpenGLException;
     public final void rasterPos(double, double) throws OpenGLException;
     public final void rasterPos(double, double, double) throws OpenGLException;
     public final void rasterPos(double, double, double, double) throws OpenGLException;
     public final void rasterPos(double[]) throws OpenGLException;
     public final void rasterPos(float, float) throws OpenGLException;
     public final void rasterPos(float, float, float) throws OpenGLException;
     public final void rasterPos(float, float, float, float) throws OpenGLException;
     public final void rasterPos(float[]) throws OpenGLException;
     public final void rasterPos(int, int) throws OpenGLException;
     public final void rasterPos(int, int, int) throws OpenGLException;
     public final void rasterPos(int, int, int, int) throws OpenGLException;
     public final void rasterPos(int[]) throws OpenGLException;
     public final void rasterPos(short, short) throws OpenGLException;
     public final void rasterPos(short, short, short) throws OpenGLException;
     public final void rasterPos(short, short, short, short) throws OpenGLException;
     public final void rasterPos(short[]) throws OpenGLException;
     public final void readBuffer(int) throws OpenGLException;
     public final void rect(double, double, double, double) throws OpenGLException;
     public final void rect(double[], double[]) throws OpenGLException;
     public final void rect(float, float, float, float) throws OpenGLException;
     public final void rect(float[], float[]) throws OpenGLException;
     public final void rect(int, int, int, int) throws OpenGLException;
     public final void rect(int[], int[]) throws OpenGLException;
     public final void rect(short, short, short, short) throws OpenGLException;
     public final void rect(short[], short[]) throws OpenGLException;
     public final int renderMode(int) throws OpenGLException;
     public final void rotate(double, double, double, double) throws OpenGLException;
     public final void rotate(float, float, float, float) throws OpenGLException;
     public final void scale(double, double, double) throws OpenGLException;
     public final void scale(float, float, float) throws OpenGLException;
     public final void scissor(int, int, int, int) throws OpenGLException;
     public final void selectBuffer(int, int[]) throws OpenGLException;
     public void setMode(int);
     public void setParent(GL);
     public final void shadeModel(int) throws OpenGLException;
     public final void stencilFunc(int, int, int) throws OpenGLException;
     public final void stencilMask(int) throws OpenGLException;
     public final void stencilOp(int, int, int) throws OpenGLException;
     public final void texCoord(double) throws OpenGLException;
     public final void texCoord(double, double) throws OpenGLException;
     public final void texCoord(double, double, double) throws OpenGLException;
     public final void texCoord(double, double, double, double) throws OpenGLException;
     public final void texCoord(double[]) throws OpenGLException;
     public final void texCoord(float) throws OpenGLException;
     public final void texCoord(float, float) throws OpenGLException;
     public final void texCoord(float, float, float) throws OpenGLException;
     public final void texCoord(float, float, float, float) throws OpenGLException;
     public final void texCoord(float[]) throws OpenGLException;
     public final void texCoord(int) throws OpenGLException;
     public final void texCoord(int, int) throws OpenGLException;
     public final void texCoord(int, int, int) throws OpenGLException;
     public final void texCoord(int, int, int, int) throws OpenGLException;
     public final void texCoord(int[]) throws OpenGLException;
     public final void texCoord(short) throws OpenGLException;
     public final void texCoord(short, short) throws OpenGLException;
     public final void texCoord(short, short, short) throws OpenGLException;
     public final void texCoord(short, short, short, short) throws OpenGLException;
     public final void texCoord(short[]) throws OpenGLException;
     public final void texEnv(int, int, float) throws OpenGLException;
     public final void texEnv(int, int, float[]) throws OpenGLException;
     public final void texEnv(int, int, int) throws OpenGLException;
     public final void texEnv(int, int, int[]) throws OpenGLException;
     public final void texGen(int, int, double) throws OpenGLException;
     public final void texGen(int, int, double[]) throws OpenGLException;
     public final void texGen(int, int, float) throws OpenGLException;
     public final void texGen(int, int, float[]) throws OpenGLException;
     public final void texGen(int, int, int) throws OpenGLException;
     public final void texGen(int, int, int[]) throws OpenGLException;
     public final void texImage1D(int, int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void texImage1D(int, int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void texImage1D(int, int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void texImage1D(int, int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void texImage2D(int, int, int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void texImage2D(int, int, int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void texImage2D(int, int, int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void texImage2D(int, int, int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void texParameter(int, int, float) throws OpenGLException;
     public final void texParameter(int, int, float[]) throws OpenGLException;
     public final void texParameter(int, int, int) throws OpenGLException;
     public final void texParameter(int, int, int[]) throws OpenGLException;
     public final void texSubImage1D(int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void texSubImage1D(int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void texSubImage1D(int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void texSubImage1D(int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void texSubImage2D(int, int, int, int, int, int, int, int, byte[]) throws OpenGLException;
     public final void texSubImage2D(int, int, int, int, int, int, int, int, float[]) throws OpenGLException;
     public final void texSubImage2D(int, int, int, int, int, int, int, int, int[]) throws OpenGLException;
     public final void texSubImage2D(int, int, int, int, int, int, int, int, short[]) throws OpenGLException;
     public final void translate(double, double, double) throws OpenGLException;
     public final void translate(float, float, float) throws OpenGLException;
     public final void vertex(double, double) throws OpenGLException;
     public final void vertex(double, double, double) throws OpenGLException;
     public final void vertex(double, double, double, double) throws OpenGLException;
     public final void vertex(double[]) throws OpenGLException;
     public final void vertex(float, float) throws OpenGLException;
     public final void vertex(float, float, float) throws OpenGLException;
     public final void vertex(float, float, float, float) throws OpenGLException;
     public final void vertex(float[]) throws OpenGLException;
     public final void vertex(int, int) throws OpenGLException;
     public final void vertex(int, int, int) throws OpenGLException;
     public final void vertex(int, int, int, int) throws OpenGLException;
     public final void vertex(int[]) throws OpenGLException;
     public final void vertex(short, short) throws OpenGLException;
     public final void vertex(short, short, short) throws OpenGLException;
     public final void vertex(short, short, short, short) throws OpenGLException;
     public final void vertex(short[]) throws OpenGLException;
     public void viewport(GLDrawable, int, int, int, int) throws OpenGLException;
}

Encapsulation of the OpenGL state machine with support for hooking into a runtime debugging hierarchy.

This class contains the standard OpenGL functions and additional polymorphic methods designed to make programming slightly easier. It is provided in source form to developers wishing to extend the functionality of the standard OpenGL pipeline to support whatever neato-funky handling they might wish to include.

This template file should be used since it contains fully compliant methods and complete documentation for each method plus stub code to invoke the parent method in the hierarchy.

Version:
$Id: TemplateGL.java.stub,v 1.5 1998/04/20 15:51:39 descarte Exp descarte $
Author:
Alligator Descartes <descarte@hermetica.com>




  Fields

· VERSION

Summary  |  Top

   public static final String VERSION

Version information


  Constructors

· TemplateGL

Summary  |  Top

   public TemplateGL(GL parent) 

Constructs a new TemplateGL pipeline with the given pipeline as a parent in the execution stack.

Parameter Description
parent The parent pipeline object



  Methods

· setParent

Summary  |  Top
   public void setParent(GL parent) 

Sets the parent interface. This must be an instance of the GL class

Parameter Description
parent The parent interface

Implements:
setParent in interface GL


· getParent

Summary  |  Top
   public GL getParent() 

Returns the parent interface.

Implements:
getParent in interface GL


· setMode

Summary  |  Top
   public void setMode(int mode) 

Signifies the operating mode of any implementations of this interface, ie, summary or verbose

Parameter Description
mode The operating mode

Implements:
setMode in interface GL


· getMode

Summary  |  Top
   public int getMode() 

Returns the current operating mode of any implementations of this interface.

Implements:
getMode in interface GL


· display

Summary  |  Top
   public void display(String methodName, 
                       Vector args) 

This methods handles the way in which information is displayed. The default implementation ( overrideable ) simply prints the method name to System.err

Parameter Description
methodName The name of the method to print. '()' is appended for you
args A vector containing the arguments



· glCallLists

Summary  |  Top
   public final void glCallLists(int n, 
                                 int type, 
                                 byte[] lists)  throws OpenGLException

Execute a list of display lists

Parameter Description
n Specifies the number of display lists to be executed
type Specifies the type of values in `lists'. This is actually enforced by the type of the `lists' parameter itself.
lists Specifies an array containing the name offsets in the display list

Throws: OpenGLException
General OpenGL error
Implements:
glCallLists in interface GL


· glCallLists

Summary  |  Top
   public final void glCallLists(int n, 
                                 int type, 
                                 short[] lists)  throws OpenGLException

Execute a list of display lists

Parameter Description
n Specifies the number of display lists to be executed
type Specifies the type of values in `lists'. Since the byte array may contain GL_*BYTE values and GL_[234]_BYTES values, typing is not enforced via the byte array
lists Specifies an array containing the name offsets in the display list

Throws: OpenGLException
General OpenGL error
Implements:
glCallLists in interface GL


· glCallLists

Summary  |  Top
   public final void glCallLists(int n, 
                                 int type, 
                                 int[] lists)  throws OpenGLException

Execute a list of display lists

Parameter Description
n Specifies the number of display lists to be executed
type Specifies the type of values in `lists'. This is actually enforced by the type of the `lists' parameter itself.
lists Specifies an array containing the name offsets in the display list

Throws: OpenGLException
General OpenGL error
Implements:
glCallLists in interface GL


· glDrawElements

Summary  |  Top
   public final void glDrawElements(int mode, 
                                    int count, 
                                    int type, 
                                    byte[] indices)  throws OpenGLException

Render primitives from array data

Parameter Description
mode Specifies what kind of primitives to render
count Specifies the number of elements to be rendered
type Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices Specifies the indices to operate on

Throws: OpenGLException
General OpenGL error
Implements:
glDrawElements in interface GL


· glDrawElements

Summary  |  Top
   public final void glDrawElements(int mode, 
                                    int count, 
                                    int type, 
                                    short[] indices)  throws OpenGLException

Render primitives from array data

Parameter Description
mode Specifies what kind of primitives to render
count Specifies the number of elements to be rendered
type Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices Specifies the indices to operate on

Throws: OpenGLException
General OpenGL error
Implements:
glDrawElements in interface GL


· glDrawElements

Summary  |  Top
   public final void glDrawElements(int mode, 
                                    int count, 
                                    int type, 
                                    int[] indices)  throws OpenGLException

Render primitives from array data

Parameter Description
mode Specifies what kind of primitives to render
count Specifies the number of elements to be rendered
type Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices Specifies the indices to operate on

Throws: OpenGLException
General OpenGL error
Implements:
glDrawElements in interface GL


· glDrawPixels

Summary  |  Top
   public final void glDrawPixels(int width, 
                                  int height, 
                                  int format, 
                                  int type, 
                                  byte[] pixels)  throws OpenGLException

Write a block of pixels to the frame buffer

Parameter Description
width Specifies the width of the pixel rectangle
height Specifies the height of the pixel rectangle
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argument
pixels The pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glDrawPixels in interface GL


· glDrawPixels

Summary  |  Top
   public final void glDrawPixels(int width, 
                                  int height, 
                                  int format, 
                                  int type, 
                                  short[] pixels)  throws OpenGLException

Write a block of pixels to the frame buffer

Parameter Description
width Specifies the width of the pixel rectangle
height Specifies the height of the pixel rectangle
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argument
pixels The pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glDrawPixels in interface GL


· glDrawPixels

Summary  |  Top
   public final void glDrawPixels(int width, 
                                  int height, 
                                  int format, 
                                  int type, 
                                  int[] pixels)  throws OpenGLException

Write a block of pixels to the frame buffer

Parameter Description
width Specifies the width of the pixel rectangle
height Specifies the height of the pixel rectangle
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argument
pixels The pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glDrawPixels in interface GL


· glDrawPixels

Summary  |  Top
   public final void glDrawPixels(int width, 
                                  int height, 
                                  int format, 
                                  int type, 
                                  float[] pixels)  throws OpenGLException

Write a block of pixels to the frame buffer

Parameter Description
width Specifies the width of the pixel rectangle
height Specifies the height of the pixel rectangle
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argument
pixels The pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glDrawPixels in interface GL


· glGetTexImage

Summary  |  Top
   public final void glGetTexImage(int target, 
                                   int level, 
                                   int format, 
                                   int type, 
                                   byte[] pixels)  throws OpenGLException

Return a texture image

Parameter Description
target Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are accepted
level Specifies the mipmap level-of-detail number
format Specifies a pixel format for the returned data
type Specifies a pixel type for the returned data
pixels This parameter will contain the returned texture data

Throws: OpenGLException
General OpenGL error
Implements:
glGetTexImage in interface GL


· glGetTexImage

Summary  |  Top
   public final void glGetTexImage(int target, 
                                   int level, 
                                   int format, 
                                   int type, 
                                   short[] pixels)  throws OpenGLException

Return a texture image

Parameter Description
target Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are accepted
level Specifies the mipmap level-of-detail number
format Specifies a pixel format for the returned data
type Specifies a pixel type for the returned data
pixels This parameter will contain the returned texture data

Throws: OpenGLException
General OpenGL error
Implements:
glGetTexImage in interface GL


· glGetTexImage

Summary  |  Top
   public final void glGetTexImage(int target, 
                                   int level, 
                                   int format, 
                                   int type, 
                                   int[] pixels)  throws OpenGLException

Return a texture image

Parameter Description
target Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are accepted
level Specifies the mipmap level-of-detail number
format Specifies a pixel format for the returned data
type Specifies a pixel type for the returned data
pixels This parameter will contain the returned texture data

Throws: OpenGLException
General OpenGL error
Implements:
glGetTexImage in interface GL


· glGetTexImage

Summary  |  Top
   public final void glGetTexImage(int target, 
                                   int level, 
                                   int format, 
                                   int type, 
                                   float[] pixels)  throws OpenGLException

Return a texture image

Parameter Description
target Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are accepted
level Specifies the mipmap level-of-detail number
format Specifies a pixel format for the returned data
type Specifies a pixel type for the returned data
pixels This parameter will contain the returned texture data

Throws: OpenGLException
General OpenGL error
Implements:
glGetTexImage in interface GL


· glReadPixels

Summary  |  Top
   public final void glReadPixels(int x, 
                                  int y, 
                                  int width, 
                                  int height, 
                                  int format, 
                                  int type, 
                                  byte[] pixels)  throws OpenGLException

Read a block of pixels from the frame buffer

Parameter Description
x Specify the x window coordinate of the first pixel to be read
y Specify the y window coordinate of the first pixel to be read
width The width of the pixel rectangle to read
height The height of the pixel rectangle to read
format Specifies the format of the pixel data
type Specifies the data type of the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glReadPixels in interface GL


· glReadPixels

Summary  |  Top
   public final void glReadPixels(int x, 
                                  int y, 
                                  int width, 
                                  int height, 
                                  int format, 
                                  int type, 
                                  short[] pixels)  throws OpenGLException

Read a block of pixels from the frame buffer

Parameter Description
x Specify the x window coordinate of the first pixel to be read
y Specify the y window coordinate of the first pixel to be read
width The width of the pixel rectangle to read
height The height of the pixel rectangle to read
format Specifies the format of the pixel data
type Specifies the data type of the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glReadPixels in interface GL


· glReadPixels

Summary  |  Top
   public final void glReadPixels(int x, 
                                  int y, 
                                  int width, 
                                  int height, 
                                  int format, 
                                  int type, 
                                  int[] pixels)  throws OpenGLException

Read a block of pixels from the frame buffer

Parameter Description
x Specify the x window coordinate of the first pixel to be read
y Specify the y window coordinate of the first pixel to be read
width The width of the pixel rectangle to read
height The height of the pixel rectangle to read
format Specifies the format of the pixel data
type Specifies the data type of the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glReadPixels in interface GL


· glReadPixels

Summary  |  Top
   public final void glReadPixels(int x, 
                                  int y, 
                                  int width, 
                                  int height, 
                                  int format, 
                                  int type, 
                                  float[] pixels)  throws OpenGLException

Read a block of pixels from the frame buffer

Parameter Description
x Specify the x window coordinate of the first pixel to be read
y Specify the y window coordinate of the first pixel to be read
width The width of the pixel rectangle to read
height The height of the pixel rectangle to read
format Specifies the format of the pixel data
type Specifies the data type of the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glReadPixels in interface GL


· glTexImage1D

Summary  |  Top
   public final void glTexImage1D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  byte[] pixels)  throws OpenGLException

Specifies a one-dimensional texture map

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage1D in interface GL


· glTexImage1D

Summary  |  Top
   public final void glTexImage1D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  byte[][] pixels)  throws OpenGLException

Specifies a one-dimensional texture map using slightly more sensible array definitions. You can now specify the array as [width of texture][number of components] which Magician will internally decode and dispatch for you.

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage1D in interface GL


· texImage1D

Summary  |  Top
   public final void texImage1D(int target, 
                                int level, 
                                int components, 
                                int width, 
                                int border, 
                                int format, 
                                int type, 
                                byte[] pixels)  throws OpenGLException

Specifies a one-dimensional texture map

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
texImage1D in interface GL


· glTexImage1D

Summary  |  Top
   public final void glTexImage1D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  short[] pixels)  throws OpenGLException

Specifies a one-dimensional texture map

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage1D in interface GL


· glTexImage1D

Summary  |  Top
   public final void glTexImage1D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  short[][] pixels)  throws OpenGLException

Specifies a one-dimensional texture map using slightly more sensible array definitions. You can now specify the array as [width of texture][number of components] which Magician will internally decode and dispatch for you.

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage1D in interface GL


· texImage1D

Summary  |  Top
   public final void texImage1D(int target, 
                                int level, 
                                int components, 
                                int width, 
                                int border, 
                                int format, 
                                int type, 
                                short[] pixels)  throws OpenGLException

Specifies a one-dimensional texture map

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
texImage1D in interface GL


· glTexImage1D

Summary  |  Top
   public final void glTexImage1D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  int[] pixels)  throws OpenGLException

Specifies a one-dimensional texture map

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage1D in interface GL


· glTexImage1D

Summary  |  Top
   public final void glTexImage1D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  int[][] pixels)  throws OpenGLException

Specifies a one-dimensional texture map using slightly more sensible array definitions. You can now specify the array as [width of texture][number of components] which Magician will internally decode and dispatch for you.

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage1D in interface GL


· texImage1D

Summary  |  Top
   public final void texImage1D(int target, 
                                int level, 
                                int components, 
                                int width, 
                                int border, 
                                int format, 
                                int type, 
                                int[] pixels)  throws OpenGLException

Specifies a one-dimensional texture map

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
texImage1D in interface GL


· glTexImage1D

Summary  |  Top
   public final void glTexImage1D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  float[] pixels)  throws OpenGLException

Specifies a one-dimensional texture map

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage1D in interface GL


· glTexImage1D

Summary  |  Top
   public final void glTexImage1D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  float[][] pixels)  throws OpenGLException

Specifies a one-dimensional texture map using slightly more sensible array definitions. You can now specify the array as [width of texture][number of components] which Magician will internally decode and dispatch for you.

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage1D in interface GL


· texImage1D

Summary  |  Top
   public final void texImage1D(int target, 
                                int level, 
                                int components, 
                                int width, 
                                int border, 
                                int format, 
                                int type, 
                                float[] pixels)  throws OpenGLException

Specifies a one-dimensional texture map

Parameter Description
target Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
border The width of the texture border
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
texImage1D in interface GL


· glTexImage2D

Summary  |  Top
   public final void glTexImage2D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int height, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  byte[] pixels)  throws OpenGLException

Specifies a two-dimensional texture map

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage2D in interface GL


· glTexImage2D

Summary  |  Top
   public final void glTexImage2D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int height, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  byte[][][] pixels)  throws OpenGLException

Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage2D in interface GL


· texImage2D

Summary  |  Top
   public final void texImage2D(int target, 
                                int level, 
                                int components, 
                                int width, 
                                int height, 
                                int border, 
                                int format, 
                                int type, 
                                byte[] pixels)  throws OpenGLException

Specifies a two-dimensional texture map

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
texImage2D in interface GL


· glTexImage2D

Summary  |  Top
   public final void glTexImage2D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int height, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  short[] pixels)  throws OpenGLException

Specifies a two-dimensional texture map

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage2D in interface GL


· glTexImage2D

Summary  |  Top
   public final void glTexImage2D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int height, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  short[][][] pixels)  throws OpenGLException

Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage2D in interface GL


· texImage2D

Summary  |  Top
   public final void texImage2D(int target, 
                                int level, 
                                int components, 
                                int width, 
                                int height, 
                                int border, 
                                int format, 
                                int type, 
                                short[] pixels)  throws OpenGLException

Specifies a two-dimensional texture map

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
texImage2D in interface GL


· glTexImage2D

Summary  |  Top
   public final void glTexImage2D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int height, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  int[] pixels)  throws OpenGLException

Specifies a two-dimensional texture map

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage2D in interface GL


· glTexImage2D

Summary  |  Top
   public final void glTexImage2D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int height, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  int[][][] pixels)  throws OpenGLException

Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage2D in interface GL


· texImage2D

Summary  |  Top
   public final void texImage2D(int target, 
                                int level, 
                                int components, 
                                int width, 
                                int height, 
                                int border, 
                                int format, 
                                int type, 
                                int[] pixels)  throws OpenGLException

Specifies a two-dimensional texture map

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
texImage2D in interface GL


· glTexImage2D

Summary  |  Top
   public final void glTexImage2D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int height, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  float[] pixels)  throws OpenGLException

Specifies a two-dimensional texture map

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage2D in interface GL


· glTexImage2D

Summary  |  Top
   public final void glTexImage2D(int target, 
                                  int level, 
                                  int components, 
                                  int width, 
                                  int height, 
                                  int border, 
                                  int format, 
                                  int type, 
                                  float[][][] pixels)  throws OpenGLException

Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
glTexImage2D in interface GL


· texImage2D

Summary  |  Top
   public final void texImage2D(int target, 
                                int level, 
                                int components, 
                                int width, 
                                int height, 
                                int border, 
                                int format, 
                                int type, 
                                float[] pixels)  throws OpenGLException

Specifies a two-dimensional texture map

Parameter Description
target Specifies the target texture
level Specifies the mipmap level-of-detail number
components Specifies the number of colour components in the texture
width The width of the texture image
height The height of the texture image
border The width of the texture border
format Specifies the format of the pixel data
type Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels Specifies the pixel data

Throws: OpenGLException
General OpenGL error
Implements:
texImage2D in interface GL


· glTexSubImage1D

Summary  |  Top
   public final void glTexSubImage1D(int target, 
                                     int level, 
                                     int xoffset, 
                                     int width, 
                                     int format, 
                                     int type, 
                                     byte[] pixels)  throws OpenGLException

Specifies a one-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
width Specifies the width of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
glTexSubImage1D in interface GL


· texSubImage1D

Summary  |  Top
   public final void texSubImage1D(int target, 
                                   int level, 
                                   int xoffset, 
                                   int width, 
                                   int format, 
                                   int type, 
                                   byte[] pixels)  throws OpenGLException

Specifies a one-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
width Specifies the width of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
texSubImage1D in interface GL


· glTexSubImage1D

Summary  |  Top
   public final void glTexSubImage1D(int target, 
                                     int level, 
                                     int xoffset, 
                                     int width, 
                                     int format, 
                                     int type, 
                                     short[] pixels)  throws OpenGLException

Specifies a one-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
width Specifies the width of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
glTexSubImage1D in interface GL


· texSubImage1D

Summary  |  Top
   public final void texSubImage1D(int target, 
                                   int level, 
                                   int xoffset, 
                                   int width, 
                                   int format, 
                                   int type, 
                                   short[] pixels)  throws OpenGLException

Specifies a one-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
width Specifies the width of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
texSubImage1D in interface GL


· glTexSubImage1D

Summary  |  Top
   public final void glTexSubImage1D(int target, 
                                     int level, 
                                     int xoffset, 
                                     int width, 
                                     int format, 
                                     int type, 
                                     int[] pixels)  throws OpenGLException

Specifies a one-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
width Specifies the width of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
glTexSubImage1D in interface GL


· texSubImage1D

Summary  |  Top
   public final void texSubImage1D(int target, 
                                   int level, 
                                   int xoffset, 
                                   int width, 
                                   int format, 
                                   int type, 
                                   int[] pixels)  throws OpenGLException

Specifies a one-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
width Specifies the width of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
texSubImage1D in interface GL


· glTexSubImage1D

Summary  |  Top
   public final void glTexSubImage1D(int target, 
                                     int level, 
                                     int xoffset, 
                                     int width, 
                                     int format, 
                                     int type, 
                                     float[] pixels)  throws OpenGLException

Specifies a one-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
width Specifies the width of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
glTexSubImage1D in interface GL


· texSubImage1D

Summary  |  Top
   public final void texSubImage1D(int target, 
                                   int level, 
                                   int xoffset, 
                                   int width, 
                                   int format, 
                                   int type, 
                                   float[] pixels)  throws OpenGLException

Specifies a one-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
width Specifies the width of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
texSubImage1D in interface GL


· glTexSubImage2D

Summary  |  Top
   public final void glTexSubImage2D(int target, 
                                     int level, 
                                     int xoffset, 
                                     int yoffset, 
                                     int width, 
                                     int height, 
                                     int format, 
                                     int type, 
                                     byte[] pixels)  throws OpenGLException

Specifies a two-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
yoffset Specifies a texel offset in the y direction within the texture array
width Specifies the width of the texture subimage
height Specifies the height of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
glTexSubImage2D in interface GL


· texSubImage2D

Summary  |  Top
   public final void texSubImage2D(int target, 
                                   int level, 
                                   int xoffset, 
                                   int yoffset, 
                                   int width, 
                                   int height, 
                                   int format, 
                                   int type, 
                                   byte[] pixels)  throws OpenGLException

Specifies a two-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
yoffset Specifies a texel offset in the y direction within the texture array
width Specifies the width of the texture subimage
height Specifies the height of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
texSubImage2D in interface GL


· glTexSubImage2D

Summary  |  Top
   public final void glTexSubImage2D(int target, 
                                     int level, 
                                     int xoffset, 
                                     int yoffset, 
                                     int width, 
                                     int height, 
                                     int format, 
                                     int type, 
                                     short[] pixels)  throws OpenGLException

Specifies a two-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
yoffset Specifies a texel offset in the y direction within the texture array
width Specifies the width of the texture subimage
height Specifies the height of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
glTexSubImage2D in interface GL


· texSubImage2D

Summary  |  Top
   public final void texSubImage2D(int target, 
                                   int level, 
                                   int xoffset, 
                                   int yoffset, 
                                   int width, 
                                   int height, 
                                   int format, 
                                   int type, 
                                   short[] pixels)  throws OpenGLException

Specifies a two-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
yoffset Specifies a texel offset in the y direction within the texture array
width Specifies the width of the texture subimage
height Specifies the height of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
texSubImage2D in interface GL


· glTexSubImage2D

Summary  |  Top
   public final void glTexSubImage2D(int target, 
                                     int level, 
                                     int xoffset, 
                                     int yoffset, 
                                     int width, 
                                     int height, 
                                     int format, 
                                     int type, 
                                     int[] pixels)  throws OpenGLException

Specifies a two-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
yoffset Specifies a texel offset in the y direction within the texture array
width Specifies the width of the texture subimage
height Specifies the height of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
glTexSubImage2D in interface GL


· texSubImage2D

Summary  |  Top
   public final void texSubImage2D(int target, 
                                   int level, 
                                   int xoffset, 
                                   int yoffset, 
                                   int width, 
                                   int height, 
                                   int format, 
                                   int type, 
                                   int[] pixels)  throws OpenGLException

Specifies a two-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
yoffset Specifies a texel offset in the y direction within the texture array
width Specifies the width of the texture subimage
height Specifies the height of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
texSubImage2D in interface GL


· glTexSubImage2D

Summary  |  Top
   public final void glTexSubImage2D(int target, 
                                     int level, 
                                     int xoffset, 
                                     int yoffset, 
                                     int width, 
                                     int height, 
                                     int format, 
                                     int type, 
                                     float[] pixels)  throws OpenGLException

Specifies a two-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
yoffset Specifies a texel offset in the y direction within the texture array
width Specifies the width of the texture subimage
height Specifies the height of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
glTexSubImage2D in interface GL


· texSubImage2D

Summary  |  Top
   public final void texSubImage2D(int target, 
                                   int level, 
                                   int xoffset, 
                                   int yoffset, 
                                   int width, 
                                   int height, 
                                   int format, 
                                   int type, 
                                   float[] pixels)  throws OpenGLException

Specifies a two-dimensional texture sub-image

Parameter Description
target Specifies the target texture. Must be GL_TEXTURE_1D
level Specifies the mipmap level-of-detail number
xoffset Specifies a texel offset in the x direction within the texture array
yoffset Specifies a texel offset in the y direction within the texture array
width Specifies the width of the texture subimage
height Specifies the height of the texture subimage
format Specifies the format of the pixel data
type Specifies the data type of the pixel data
pixels The pixel data itself

Throws: OpenGLException
General OpenGL error
Implements:
texSubImage2D in interface GL


· glGetString

Summary  |  Top
   public final String glGetString(int name)  throws OpenGLException

Returns a string describing the current GL connection

Parameter Description
name Specifies a symbolic constant defining the OpenGL implementation specific information to return. Legal values are GL_VENDOR, GL_RENDERER, GL_VERSION or GL_EXTENSIONS

Throws: OpenGLException
General OpenGL error
Implements:
glGetString in interface GL


· getString

Summary  |  Top
   public final String getString(int name)  throws OpenGLException

Polymorphic definition of glGetString

Parameter Description
name Specifies a symbolic constant defining the OpenGL implementation specific information to return. Legal values are GL_VENDOR, GL_RENDERER, GL_VERSION or GL_EXTENSIONS

Throws: OpenGLException
General OpenGL error
Implements:
getString in interface GL

See Also: glGetString



· vertex

Summary  |  Top
   public final void vertex(short x, 
                            short y)  throws OpenGLException

Polymorphic method for glVertex2s

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex2s



· vertex

Summary  |  Top
   public final void vertex(int x, 
                            int y)  throws OpenGLException

Polymorphic method for glVertex2i

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex2i



· vertex

Summary  |  Top
   public final void vertex(float x, 
                            float y)  throws OpenGLException

Polymorphic method for glVertex2f

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex2f



· vertex

Summary  |  Top
   public final void vertex(double x, 
                            double y)  throws OpenGLException

Polymorphic method for glVertex2d

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex2d



· vertex

Summary  |  Top
   public final void vertex(short x, 
                            short y, 
                            short z)  throws OpenGLException

Polymorphic method for glVertex3s

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex
z The z-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex3s



· vertex

Summary  |  Top
   public final void vertex(int x, 
                            int y, 
                            int z)  throws OpenGLException

Polymorphic method for glVertex3i

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex
z The z-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex3i



· vertex

Summary  |  Top
   public final void vertex(float x, 
                            float y, 
                            float z)  throws OpenGLException

Polymorphic method for glVertex3f

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex
z The z-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex3f



· vertex

Summary  |  Top
   public final void vertex(double x, 
                            double y, 
                            double z)  throws OpenGLException

Polymorphic method for glVertex3d

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex
z The z-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex3d



· vertex

Summary  |  Top
   public final void vertex(short x, 
                            short y, 
                            short z, 
                            short w)  throws OpenGLException

Polymorphic method for glVertex4s

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex
z The z-coordinate of the vertex
w The w-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex4s



· vertex

Summary  |  Top
   public final void vertex(int x, 
                            int y, 
                            int z, 
                            int w)  throws OpenGLException

Polymorphic method for glVertex4i

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex
z The z-coordinate of the vertex
w The w-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex4i



· vertex

Summary  |  Top
   public final void vertex(float x, 
                            float y, 
                            float z, 
                            float w)  throws OpenGLException

Polymorphic method for glVertex4f

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex
z The z-coordinate of the vertex
w The w-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex4f



· vertex

Summary  |  Top
   public final void vertex(double x, 
                            double y, 
                            double z, 
                            double w)  throws OpenGLException

Polymorphic method for glVertex4d

Parameter Description
x The x-coordinate of the vertex
y The y-coordinate of the vertex
z The z-coordinate of the vertex
w The w-coordinate of the vertex

Throws: OpenGLException
General OpenGL error
Implements:
vertex in interface GL

See Also: glVertex4d



· vertex

Summary  |  Top
   public final void vertex(short[] ary)  throws OpenGLException

Specify a vertex using an array of shorts

Parameter Description
ary Array containing vertex data

Throws: OpenGLException
Thrown when an array with invalid length is specified
Implements:
vertex in interface GL


· vertex

Summary  |  Top
   public final void vertex(int[] ary)  throws OpenGLException

Specify a vertex using an array of ints

Parameter Description
ary Array containing vertex data

Throws: OpenGLException
Thrown when an array with invalid length is specified
Implements:
vertex in interface GL


· vertex

Summary  |  Top
   public final void vertex(float[] ary)  throws OpenGLException

Specify a vertex using an array of floats

Parameter Description
ary Array containing vertex data

Throws: OpenGLException
Thrown when an array with invalid length is specified
Implements:
vertex in interface GL


· vertex

Summary  |  Top
   public final void vertex(double[] ary)  throws OpenGLException

Specify a vertex using an array of doubles

Parameter Description
ary Array containing vertex data

Throws: OpenGLException
Thrown when an array with invalid length is specified
Implements:
vertex in interface GL


· color

Summary  |  Top
   public final void color(byte r, 
                           byte g, 
                           byte b)  throws OpenGLException

Polymorphic method for glColor3b

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor3b



· color

Summary  |  Top
   public final void color(short r, 
                           short g, 
                           short b)  throws OpenGLException

Polymorphic method for glColor3s

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor3s



· color

Summary  |  Top
   public final void color(int r, 
                           int g, 
                           int b)  throws OpenGLException

Polymorphic method for glColor3i

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor3i



· color

Summary  |  Top
   public final void color(float r, 
                           float g, 
                           float b)  throws OpenGLException

Polymorphic method for glColor3f

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor3f



· color

Summary  |  Top
   public final void color(double r, 
                           double g, 
                           double b)  throws OpenGLException

Polymorphic method for glColor3d

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor3d



· color

Summary  |  Top
   public final void color(byte r, 
                           byte g, 
                           byte b, 
                           byte a)  throws OpenGLException

Polymorphic method for glColor4b

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor4b



· color

Summary  |  Top
   public final void color(short r, 
                           short g, 
                           short b, 
                           short a)  throws OpenGLException

Polymorphic method for glColor4s

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor4s



· color

Summary  |  Top
   public final void color(int r, 
                           int g, 
                           int b, 
                           int a)  throws OpenGLException

Polymorphic method for glColor4i

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor4i



· color

Summary  |  Top
   public final void color(float r, 
                           float g, 
                           float b, 
                           float a)  throws OpenGLException

Polymorphic method for glColor4f

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor4f



· color

Summary  |  Top
   public final void color(double r, 
                           double g, 
                           double b, 
                           double a)  throws OpenGLException

Polymorphic method for glColor4d

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL error
Implements:
color in interface GL

See Also: glColor4d



· color

Summary  |  Top
   public final void color(byte[] ary)  throws OpenGLException

Polymorphic method for glColor3bv and glColor4bv

Throws: OpenGLException
Thrown when the length of colour data is invalid
Implements:
color in interface GL

See Also: glColor3bv, glColor4bv



· color

Summary  |  Top
   public final void color(short[] ary)  throws OpenGLException

Polymorphic method for glColor3sv and glColor4sv

Parameter Description
ary An array containing colour data

Throws: OpenGLException
Thrown when the length of colour data is invalid
Implements:
color in interface GL

See Also: glColor3sv, glColor4sv



· color

Summary  |  Top
   public final void color(int[] ary)  throws OpenGLException

Polymorphic method for glColor3iv and glColor4iv

Parameter Description
ary An array containing colour data

Throws: OpenGLException
Thrown when the length of colour data is invalid
Implements:
color in interface GL

See Also: glColor3iv, glColor4iv



· color

Summary  |  Top
   public final void color(float[] ary)  throws OpenGLException

Polymorphic method for glColor3fv and glColour4fv

Parameter Description
ary An array containing colour data

Throws: OpenGLException
Thrown when the length of colour data is invalid
Implements:
color in interface GL

See Also: glColor3fv, glColor4fv



· color

Summary  |  Top
   public final void color(double[] ary)  throws OpenGLException

Polymorphic method for glColor3dv and glColor4dv

Parameter Description
ary An array containing colour data

Throws: OpenGLException
Thrown when the length of colour data is invalid
Implements:
color in interface GL

See Also: glColor3dv, glColor4dv



· texCoord

Summary  |  Top
   public final void texCoord(short s)  throws OpenGLException

Polymorphic method for glTexCoord1s

Parameter Description
s The s texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord1s



· texCoord

Summary  |  Top
   public final void texCoord(int s)  throws OpenGLException

Polymorphic method for glTexCoord1i

Parameter Description
s The s texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord1i



· texCoord

Summary  |  Top
   public final void texCoord(float s)  throws OpenGLException

Polymorphic method for glTexCoord1f

Parameter Description
s The s texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord1f



· texCoord

Summary  |  Top
   public final void texCoord(double s)  throws OpenGLException

Polymorphic method for glTexCoord1d

Parameter Description
s The s texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord1d



· texCoord

Summary  |  Top
   public final void texCoord(short s, 
                              short t)  throws OpenGLException

Polymorphic method for glTexCoord2s

Parameter Description
s The s texture coordinate
t The t texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord2s



· texCoord

Summary  |  Top
   public final void texCoord(int s, 
                              int t)  throws OpenGLException

Polymorphic method for glTexCoord2i

Parameter Description
s The s texture coordinate
t The t texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord2i



· texCoord

Summary  |  Top
   public final void texCoord(float s, 
                              float t)  throws OpenGLException

Polymorphic method for glTexCoord2f

Parameter Description
s The s texture coordinate
t The t texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord2f



· texCoord

Summary  |  Top
   public final void texCoord(double s, 
                              double t)  throws OpenGLException

Polymorphic method for glTexCoord2d

Parameter Description
s The s texture coordinate
t The t texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord2d



· texCoord

Summary  |  Top
   public final void texCoord(short s, 
                              short t, 
                              short r)  throws OpenGLException

Polymorphic method for glTexCoord3s

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord3s



· texCoord

Summary  |  Top
   public final void texCoord(int s, 
                              int t, 
                              int r)  throws OpenGLException

Polymorphic method for glTexCoord3i

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord3i



· texCoord

Summary  |  Top
   public final void texCoord(float s, 
                              float t, 
                              float r)  throws OpenGLException

Polymorphic method for glTexCoord3f

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord3f



· texCoord

Summary  |  Top
   public final void texCoord(double s, 
                              double t, 
                              double r)  throws OpenGLException

Polymorphic method for glTexCoord3d

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord3d



· texCoord

Summary  |  Top
   public final void texCoord(short s, 
                              short t, 
                              short r, 
                              short q)  throws OpenGLException

Polymorphic method for glTexCoord4s

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate
q The q texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord4s



· texCoord

Summary  |  Top
   public final void texCoord(int s, 
                              int t, 
                              int r, 
                              int q)  throws OpenGLException

Polymorphic method for glTexCoord4i

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate
q The q texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord4i



· texCoord

Summary  |  Top
   public final void texCoord(float s, 
                              float t, 
                              float r, 
                              float q)  throws OpenGLException

Polymorphic method for glTexCoord4f

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate
q The q texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord4f



· texCoord

Summary  |  Top
   public final void texCoord(double s, 
                              double t, 
                              double r, 
                              double q)  throws OpenGLException

Polymorphic method for glTexCoord4d

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate
q The q texture coordinate

Throws: OpenGLException
General OpenGL error
Implements:
texCoord in interface GL

See Also: glTexCoord4d



· texCoord

Summary  |  Top
   public final void texCoord(short[] ary)  throws OpenGLException

Polymorphic method for glTexCoord[1234]sv

Parameter Description
ary An array containing texture coordinate data

Throws: OpenGLException
Thrown when size of array data is invalid
Implements:
texCoord in interface GL

See Also: glTexCoord1sv, glTexCoord2sv, glTexCoord3sv, glTexCoord4sv



· texCoord

Summary  |  Top
   public final void texCoord(int[] ary)  throws OpenGLException

Polymorphic method for glTexCoord[1234]iv

Parameter Description
ary An array containing texture coordinate data

Throws: OpenGLException
Thrown when size of array data is invalid
Implements:
texCoord in interface GL

See Also: glTexCoord1iv, glTexCoord2iv, glTexCoord3iv, glTexCoord4iv



· texCoord

Summary  |  Top
   public final void texCoord(float[] ary)  throws OpenGLException

Polymorphic method for glTexCoord[1234]fv

Parameter Description
ary An array containing texture coordinate data

Throws: OpenGLException
Thrown when size of array data is invalid
Implements:
texCoord in interface GL

See Also: glTexCoord1fv, glTexCoord2fv, glTexCoord3fv, glTexCoord4fv



· texCoord

Summary  |  Top
   public final void texCoord(double[] ary)  throws OpenGLException

Polymorphic method for glTexCoord[1234]dv

Parameter Description
ary An array containing texture coordinate data

Throws: OpenGLException
Thrown when size of array data is invalid
Implements:
texCoord in interface GL

See Also: glTexCoord1dv, glTexCoord2dv, glTexCoord3dv, glTexCoord4dv



· rasterPos

Summary  |  Top
   public final void rasterPos(short x, 
                               short y)  throws OpenGLException

Polymorphic definition for glRasterPos2s

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos2s



· rasterPos

Summary  |  Top
   public final void rasterPos(int x, 
                               int y)  throws OpenGLException

Polymorphic definition for glRasterPos2i

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos2i



· rasterPos

Summary  |  Top
   public final void rasterPos(float x, 
                               float y)  throws OpenGLException

Polymorphic definition for glRasterPos2f

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos2f



· rasterPos

Summary  |  Top
   public final void rasterPos(double x, 
                               double y)  throws OpenGLException

Polymorphic definition for glRasterPos2d

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos2d



· rasterPos

Summary  |  Top
   public final void rasterPos(short x, 
                               short y, 
                               short z)  throws OpenGLException

Polymorphic definition for glRasterPos3s

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position
z The z object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos3s



· rasterPos

Summary  |  Top
   public final void rasterPos(int x, 
                               int y, 
                               int z)  throws OpenGLException

Polymorphic definition for glRasterPos3i

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position
z The z object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos3i



· rasterPos

Summary  |  Top
   public final void rasterPos(float x, 
                               float y, 
                               float z)  throws OpenGLException

Polymorphic definition for glRasterPos3f

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position
z The z object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos3f



· rasterPos

Summary  |  Top
   public final void rasterPos(double x, 
                               double y, 
                               double z)  throws OpenGLException

Polymorphic definition for glRasterPos3d

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position
z The z object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos3d



· rasterPos

Summary  |  Top
   public final void rasterPos(short x, 
                               short y, 
                               short z, 
                               short w)  throws OpenGLException

Polymorphic definition for glRasterPos4s

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position
z The z object coordinate for the raster position
w The w object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos4s



· rasterPos

Summary  |  Top
   public final void rasterPos(int x, 
                               int y, 
                               int z, 
                               int w)  throws OpenGLException

Polymorphic definition for glRasterPos4i

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position
z The z object coordinate for the raster position
w The w object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos4i



· rasterPos

Summary  |  Top
   public final void rasterPos(float x, 
                               float y, 
                               float z, 
                               float w)  throws OpenGLException

Polymorphic definition for glRasterPos4f

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position
z The z object coordinate for the raster position
w The w object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos4f



· rasterPos

Summary  |  Top
   public final void rasterPos(double x, 
                               double y, 
                               double z, 
                               double w)  throws OpenGLException

Polymorphic definition for glRasterPos4d

Parameter Description
x The x object coordinate for the raster position
y The y object coordinate for the raster position
z The z object coordinate for the raster position
w The w object coordinate for the raster position

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos4d



· rasterPos

Summary  |  Top
   public final void rasterPos(short[] ary)  throws OpenGLException

Polymorphic definition for glRasterPos[234]sv

Parameter Description
ary An array containing raster positional data

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos2sv, glRasterPos3sv, glRasterPos4sv



· rasterPos

Summary  |  Top
   public final void rasterPos(int[] ary)  throws OpenGLException

Polymorphic definition for glRasterPos[234]iv

Parameter Description
ary An array containing raster positional data

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos2iv, glRasterPos3iv, glRasterPos4iv



· rasterPos

Summary  |  Top
   public final void rasterPos(float[] ary)  throws OpenGLException

Polymorphic definition for glRasterPos[234]fv

Parameter Description
ary An array containing raster positional data

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos2fv, glRasterPos3fv, glRasterPos4fv



· rasterPos

Summary  |  Top
   public final void rasterPos(double[] ary)  throws OpenGLException

Polymorphic definition for glRasterPos[234]dv

Parameter Description
ary An array containing raster positional data

Throws: OpenGLException
General OpenGL error
Implements:
rasterPos in interface GL

See Also: glRasterPos2dv, glRasterPos3dv, glRasterPos4dv



· glVertexPointer

Summary  |  Top
   public final void glVertexPointer(int size, 
                                     int type, 
                                     int stride, 
                                     short[] ptr)  throws OpenGLException

Define an array of vertex data

Parameter Description
size Specifies the number of coordinates per vertex
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive vertices
ptr Specifies the vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertexPointer in interface GL


· glVertexPointer

Summary  |  Top
   public final void glVertexPointer(int size, 
                                     int type, 
                                     int stride, 
                                     int[] ptr)  throws OpenGLException

Define an array of vertex data

Parameter Description
size Specifies the number of coordinates per vertex
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive vertices
ptr Specifies the vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertexPointer in interface GL


· glVertexPointer

Summary  |  Top
   public final void glVertexPointer(int size, 
                                     int type, 
                                     int stride, 
                                     float[] ptr)  throws OpenGLException

Define an array of vertex data

Parameter Description
size Specifies the number of coordinates per vertex
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive vertices
ptr Specifies the vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertexPointer in interface GL


· glVertexPointer

Summary  |  Top
   public final void glVertexPointer(int size, 
                                     int type, 
                                     int stride, 
                                     double[] ptr)  throws OpenGLException

Define an array of vertex data

Parameter Description
size Specifies the number of coordinates per vertex
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive vertices
ptr Specifies the vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertexPointer in interface GL


· glColorPointer

Summary  |  Top
   public final void glColorPointer(int size, 
                                    int type, 
                                    int stride, 
                                    byte[] ptr)  throws OpenGLException

Define an array of colours

Parameter Description
size Specifies the number of components per colour. Must be 3 or 4
type Specifies the data type of each colour component in the array.
stride Specifies the byte offset between consecutive colours.
pointer Specifies the colour data

Throws: OpenGLException
General OpenGL error
Implements:
glColorPointer in interface GL


· glColorPointer

Summary  |  Top
   public final void glColorPointer(int size, 
                                    int type, 
                                    int stride, 
                                    short[] ptr)  throws OpenGLException

Define an array of colours

Parameter Description
size Specifies the number of components per colour. Must be 3 or 4
type Specifies the data type of each colour component in the array.
stride Specifies the byte offset between consecutive colours.
pointer Specifies the colour data

Throws: OpenGLException
General OpenGL error
Implements:
glColorPointer in interface GL


· glColorPointer

Summary  |  Top
   public final void glColorPointer(int size, 
                                    int type, 
                                    int stride, 
                                    int[] ptr)  throws OpenGLException

Define an array of colours

Parameter Description
size Specifies the number of components per colour. Must be 3 or 4
type Specifies the data type of each colour component in the array.
stride Specifies the byte offset between consecutive colours.
pointer Specifies the colour data

Throws: OpenGLException
General OpenGL error
Implements:
glColorPointer in interface GL


· glColorPointer

Summary  |  Top
   public final void glColorPointer(int size, 
                                    int type, 
                                    int stride, 
                                    float[] ptr)  throws OpenGLException

Define an array of colours

Parameter Description
size Specifies the number of components per colour. Must be 3 or 4
type Specifies the data type of each colour component in the array.
stride Specifies the byte offset between consecutive colours.
pointer Specifies the colour data

Throws: OpenGLException
General OpenGL error
Implements:
glColorPointer in interface GL


· glColorPointer

Summary  |  Top
   public final void glColorPointer(int size, 
                                    int type, 
                                    int stride, 
                                    double[] ptr)  throws OpenGLException

Define an array of colours

Parameter Description
size Specifies the number of components per colour. Must be 3 or 4
type Specifies the data type of each colour component in the array.
stride Specifies the byte offset between consecutive colours.
pointer Specifies the colour data

Throws: OpenGLException
General OpenGL error
Implements:
glColorPointer in interface GL


· glNormalPointer

Summary  |  Top
   public final void glNormalPointer(int type, 
                                     int stride, 
                                     byte[] ptr)  throws OpenGLException

Defines an array of normals

Parameter Description
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive normals
ptr Specifies the normal data

Throws: OpenGLException
General OpenGL Error
Implements:
glNormalPointer in interface GL


· glNormalPointer

Summary  |  Top
   public final void glNormalPointer(int type, 
                                     int stride, 
                                     short[] ptr)  throws OpenGLException

Defines an array of normals

Parameter Description
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive normals
ptr Specifies the normal data

Throws: OpenGLException
General OpenGL Error
Implements:
glNormalPointer in interface GL


· glNormalPointer

Summary  |  Top
   public final void glNormalPointer(int type, 
                                     int stride, 
                                     int[] ptr)  throws OpenGLException

Defines an array of normals

Parameter Description
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive normals
ptr Specifies the normal data

Throws: OpenGLException
General OpenGL Error
Implements:
glNormalPointer in interface GL


· glNormalPointer

Summary  |  Top
   public final void glNormalPointer(int type, 
                                     int stride, 
                                     float[] ptr)  throws OpenGLException

Defines an array of normals

Parameter Description
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive normals
ptr Specifies the normal data

Throws: OpenGLException
General OpenGL Error
Implements:
glNormalPointer in interface GL


· glNormalPointer

Summary  |  Top
   public final void glNormalPointer(int type, 
                                     int stride, 
                                     double[] ptr)  throws OpenGLException

Defines an array of normals

Parameter Description
type Specifies the data type of each coordinate in the array
stride Specifies the byte offset between consecutive normals
ptr Specifies the normal data

Throws: OpenGLException
General OpenGL Error
Implements:
glNormalPointer in interface GL


· glIndexPointer

Summary  |  Top
   public final void glIndexPointer(int type, 
                                    int stride, 
                                    byte[] ptr)  throws OpenGLException

Defines an array of colour indices

Parameter Description
type Specifies the data type of each colour index in the array
stride Specifies the byte offset between consecutive colour indices
ptr Specifies the colour index data

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexPointer in interface GL


· glIndexPointer

Summary  |  Top
   public final void glIndexPointer(int type, 
                                    int stride, 
                                    short[] ptr)  throws OpenGLException

Defines an array of colour indices

Parameter Description
type Specifies the data type of each colour index in the array
stride Specifies the byte offset between consecutive colour indices
ptr Specifies the colour index data

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexPointer in interface GL


· glIndexPointer

Summary  |  Top
   public final void glIndexPointer(int type, 
                                    int stride, 
                                    int[] ptr)  throws OpenGLException

Defines an array of colour indices

Parameter Description
type Specifies the data type of each colour index in the array
stride Specifies the byte offset between consecutive colour indices
ptr Specifies the colour index data

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexPointer in interface GL


· glIndexPointer

Summary  |  Top
   public final void glIndexPointer(int type, 
                                    int stride, 
                                    float[] ptr)  throws OpenGLException

Defines an array of colour indices

Parameter Description
type Specifies the data type of each colour index in the array
stride Specifies the byte offset between consecutive colour indices
ptr Specifies the colour index data

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexPointer in interface GL


· glIndexPointer

Summary  |  Top
   public final void glIndexPointer(int type, 
                                    int stride, 
                                    double[] ptr)  throws OpenGLException

Defines an array of colour indices

Parameter Description
type Specifies the data type of each colour index in the array
stride Specifies the byte offset between consecutive colour indices
ptr Specifies the colour index data

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexPointer in interface GL


· glTexCoordPointer

Summary  |  Top
   public final void glTexCoordPointer(int size, 
                                       int type, 
                                       int stride, 
                                       short[] ptr)  throws OpenGLException

Defines an array of texture coordinates

Parameter Description
size Specifies the number of coordinates in each array element
type Specifies the data type of each texture coordinate
stride Specifies the byte offset between each texture coordinate
ptr Specifies the texture coordinate data

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoordPointer in interface GL


· glTexCoordPointer

Summary  |  Top
   public final void glTexCoordPointer(int size, 
                                       int type, 
                                       int stride, 
                                       int[] ptr)  throws OpenGLException

Defines an array of texture coordinates

Parameter Description
size Specifies the number of coordinates in each array element
type Specifies the data type of each texture coordinate
stride Specifies the byte offset between each texture coordinate
ptr Specifies the texture coordinate data

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoordPointer in interface GL


· glTexCoordPointer

Summary  |  Top
   public final void glTexCoordPointer(int size, 
                                       int type, 
                                       int stride, 
                                       float[] ptr)  throws OpenGLException

Defines an array of texture coordinates

Parameter Description
size Specifies the number of coordinates in each array element
type Specifies the data type of each texture coordinate
stride Specifies the byte offset between each texture coordinate
ptr Specifies the texture coordinate data

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoordPointer in interface GL


· glTexCoordPointer

Summary  |  Top
   public final void glTexCoordPointer(int size, 
                                       int type, 
                                       int stride, 
                                       double[] ptr)  throws OpenGLException

Defines an array of texture coordinates

Parameter Description
size Specifies the number of coordinates in each array element
type Specifies the data type of each texture coordinate
stride Specifies the byte offset between each texture coordinate
ptr Specifies the texture coordinate data

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoordPointer in interface GL


· glInterleavedArrays

Summary  |  Top
   public final void glInterleavedArrays(int format, 
                                         int stride, 
                                         float[] pointer)  throws OpenGLException

Initializes vertex, colour and normal arrays for complex interleaving

Parameter Description
size Specifies the number of coordinates in each array element
type Specifies the data type of each texture coordinate
stride Specifies the byte offset between each texture coordinate
ptr Specifies the texture coordinate data

Throws: OpenGLException
General OpenGL Error
Implements:
glInterleavedArrays in interface GL


· glMap1f

Summary  |  Top
   public final void glMap1f(int target, 
                             float u1, 
                             float u2, 
                             int stride, 
                             int order, 
                             float[][] points)  throws OpenGLException

Define a one-dimensional evaluator

Parameter Description
target Specifies the kind of values generated by the evaluator
u1 Linear mapping
u2 Linear mapping
stride Specifies the number of floats or doubles between the beginning of one control point and the next
order Specifies the number of control points
points Specifies the control points

Throws: OpenGLException
General OpenGL Error
Implements:
glMap1f in interface GL


· glMap1d

Summary  |  Top
   public final void glMap1d(int target, 
                             double u1, 
                             double u2, 
                             int stride, 
                             int order, 
                             double[][] points)  throws OpenGLException

Define a one-dimensional evaluator

Parameter Description
target Specifies the kind of values generated by the evaluator
u1 Linear mapping
u2 Linear mapping
stride Specifies the number of floats or doubles between the beginning of one control point and the next
order Specifies the number of control points
points Specifies the control points

Throws: OpenGLException
General OpenGL Error
Implements:
glMap1d in interface GL


· glMap2f

Summary  |  Top
   public final void glMap2f(int target, 
                             float u1, 
                             float u2, 
                             int ustride, 
                             int uorder, 
                             float v1, 
                             float v2, 
                             int vstride, 
                             int vorder, 
                             float[][][] points)  throws OpenGLException

Define a two-dimensional evaluator

Parameter Description
target Specifies the kind of values generated by the evaluator
u1 Linear mapping
u2 Linear mapping
ustride Specifies the number of floats or doubles between consecutive control points in the parametric u direction
uorder Specifies the number of control points in the parametric u direction
v1 Linear mapping
v2 Linear mapping
vstride Specifies the number of floats or doubles between consecutive control points in the parametric v direction
vorder Specifies the number of control points in the parametric v direction
points The control points

Throws: OpenGLException
General OpenGL Error
Implements:
glMap2f in interface GL


· glMap2d

Summary  |  Top
   public final void glMap2d(int target, 
                             float u1, 
                             float u2, 
                             int ustride, 
                             int uorder, 
                             float v1, 
                             float v2, 
                             int vstride, 
                             int vorder, 
                             double[][][] points)  throws OpenGLException

Define a two-dimensional evaluator

Parameter Description
target Specifies the kind of values generated by the evaluator
u1 Linear mapping
u2 Linear mapping
ustride Specifies the number of floats or doubles between consecutive control points in the parametric u direction
uorder Specifies the number of control points in the parametric u direction
v1 Linear mapping
v2 Linear mapping
vstride Specifies the number of floats or doubles between consecutive control points in the parametric v direction
vorder Specifies the number of control points in the parametric v direction
points The control points

Throws: OpenGLException
General OpenGL Error
Implements:
glMap2d in interface GL


· glRenderMode

Summary  |  Top
   public final int glRenderMode(int mode)  throws OpenGLException

Set rasterization mode

Parameter Description
mode Specifies the rasterization mode

Throws: OpenGLException
General OpenGL Error
Implements:
glRenderMode in interface GL


· renderMode

Summary  |  Top
   public final int renderMode(int mode)  throws OpenGLException

Set rasterization mode

Parameter Description
mode Specifies the rasterization mode

Throws: OpenGLException
General OpenGL Error
Implements:
renderMode in interface GL


· glGetError

Summary  |  Top
   public final int glGetError()  throws OpenGLException

Return error information

Throws: OpenGLException
General OpenGL Error
Implements:
glGetError in interface GL


· getError

Summary  |  Top
   public final int getError()  throws OpenGLException

Return error information

Throws: OpenGLException
General OpenGL Error
Implements:
getError in interface GL


· glViewport

Summary  |  Top
   public final void glViewport(GLDrawable component, 
                                int x, 
                                int y, 
                                int width, 
                                int height)  throws OpenGLException

Set the viewport

Parameter Description
x Lower-left viewport corner x-coordinate
y Lower-left viewport corner y-coordinate
width Width of the viewport
height Height of the viewport

Throws: OpenGLException
General OpenGL Error
Implements:
glViewport in interface GL

See Also: viewport



· viewport

Summary  |  Top
   public void viewport(GLDrawable component, 
                        int x, 
                        int y, 
                        int width, 
                        int height)  throws OpenGLException

Set the viewport

Parameter Description
x Lower-left viewport corner x-coordinate
y Lower-left viewport corner y-coordinate
width Width of the viewport
height Height of the viewport

Throws: OpenGLException
General OpenGL Error
Implements:
viewport in interface GL

See Also: glViewport



· glGenLists

Summary  |  Top
   public final int glGenLists(int range)  throws OpenGLException

Generate a contiguous set of empty display lists

Parameter Description
range The number of contiguous display lists to generate

Throws: OpenGLException
General OpenGL Error
Implements:
glGenLists in interface GL


· genLists

Summary  |  Top
   public final int genLists(int range)  throws OpenGLException

Generate a contiguous set of empty display lists

Parameter Description
range The number of contiguous display lists to generate

Throws: OpenGLException
General OpenGL Error
Implements:
genLists in interface GL


· glAreTexturesResident

Summary  |  Top
   public final boolean glAreTexturesResident(int n, 
                                              int[] textures, 
                                              byte[] residence)  throws OpenGLException

Determine if textures are loaded in texture memory

Parameter Description
n Specifies the number of textures to be queried
textures Specifies an array containing the names of the textures to be queried
residences Specifies an array in which the results of the texture residency status are returned

Throws: OpenGLException
General OpenGL error
Implements:
glAreTexturesResident in interface GL


· areTexturesResident

Summary  |  Top
   public final boolean areTexturesResident(int n, 
                                            int[] textures, 
                                            byte[] residence)  throws OpenGLException

Determine if textures are loaded in texture memory

Parameter Description
n Specifies the number of textures to be queried
textures Specifies an array containing the names of the textures to be queried
residences Specifies an array in which the results of the texture residency status are returned

Throws: OpenGLException
General OpenGL error
Implements:
areTexturesResident in interface GL


· glIsEnabled

Summary  |  Top
   public final boolean glIsEnabled(int cap)  throws OpenGLException

Test whether or not a capability is enabled

Parameter Description
cap The capability to be queried

Throws: OpenGLException
General OpenGL error
Implements:
glIsEnabled in interface GL


· isEnabled

Summary  |  Top
   public final boolean isEnabled(int cap)  throws OpenGLException

Test whether or not a capability is enabled

Parameter Description
cap The capability to be queried

Throws: OpenGLException
General OpenGL error
Implements:
isEnabled in interface GL


· glIsList

Summary  |  Top
   public final boolean glIsList(int list)  throws OpenGLException

Determine if a name corresponds to a display list

Parameter Description
list The potential display list name

Throws: OpenGLException
General OpenGL error
Implements:
glIsList in interface GL


· isList

Summary  |  Top
   public final boolean isList(int list)  throws OpenGLException

Determine if a name corresponds to a display list

Parameter Description
list The potential display list name

Throws: OpenGLException
General OpenGL error
Implements:
isList in interface GL


· glIsTexture

Summary  |  Top
   public final boolean glIsTexture(int texture)  throws OpenGLException

Determine if a name corresponds to a texture

Parameter Description
The potential texture object

Throws: OpenGLException
General OpenGL error
Implements:
glIsTexture in interface GL


· isTexture

Summary  |  Top
   public final boolean isTexture(int texture)  throws OpenGLException

Determine if a name corresponds to a texture

Parameter Description
The potential texture object

Throws: OpenGLException
General OpenGL error
Implements:
isTexture in interface GL


· glVertex3fv

Summary  |  Top
   public final void glVertex3fv(float[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex3fv in interface GL


· glRasterPos3dv

Summary  |  Top
   public final void glRasterPos3dv(double[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos3dv in interface GL


· glClearAccum

Summary  |  Top
   public final void glClearAccum(float red, 
                                  float green, 
                                  float blue, 
                                  float alpha)  throws OpenGLException

Specify clear values for the accumulation buffer

Parameter Description
red The red value to clear the buffer to
green The green value to clear the buffer to
blue The blue value to clear the buffer to
alpha The alpha value to clear the buffer to

Throws: OpenGLException
General OpenGL Error
Implements:
glClearAccum in interface GL


· clearAccum

Summary  |  Top
   public final void clearAccum(float red, 
                                float green, 
                                float blue, 
                                float alpha)  throws OpenGLException

Specify clear values for the accumulation buffer

Parameter Description
red The red value to clear the buffer to
green The green value to clear the buffer to
blue The blue value to clear the buffer to
alpha The alpha value to clear the buffer to

Throws: OpenGLException
General OpenGL Error
Implements:
clearAccum in interface GL


· glTexParameteriv

Summary  |  Top
   public final void glTexParameteriv(int target, 
                                      int pname, 
                                      int[] param)  throws OpenGLException

Set texture parameters

Parameter Description
target Specifies the target texture
pname Specifies the name of a texture parameter
param Specifies the value or values of `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
glTexParameteriv in interface GL


· texParameter

Summary  |  Top
   public final void texParameter(int target, 
                                  int pname, 
                                  int[] param)  throws OpenGLException

Set texture parameters

Parameter Description
target Specifies the target texture
pname Specifies the name of a texture parameter
param Specifies the value or values of `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
texParameter in interface GL


· glRasterPos2fv

Summary  |  Top
   public final void glRasterPos2fv(float[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos2fv in interface GL


· glRotated

Summary  |  Top
   public final void glRotated(double angle, 
                               double x, 
                               double y, 
                               double z)  throws OpenGLException

Multiply the current matrix by a rotation matrix

Parameter Description
angle The angle of rotation in degrees
x The x-coordinate of a vector
y The y-coordinate of a vector
z The z-coordinate of a vector

Throws: OpenGLException
General OpenGL Error
Implements:
glRotated in interface GL


· rotate

Summary  |  Top
   public final void rotate(double angle, 
                            double x, 
                            double y, 
                            double z)  throws OpenGLException

Multiply the current matrix by a rotation matrix

Parameter Description
angle The angle of rotation in degrees
x The x-coordinate of a vector
y The y-coordinate of a vector
z The z-coordinate of a vector

Throws: OpenGLException
General OpenGL Error
Implements:
rotate in interface GL


· glLightfv

Summary  |  Top
   public final void glLightfv(int light, 
                               int pname, 
                               float[] param)  throws OpenGLException

Set the lighting model parameters

Parameter Description
light The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION or GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glLightfv in interface GL


· light

Summary  |  Top
   public final void light(int light, 
                           int pname, 
                           float[] param)  throws OpenGLException

Set the lighting model parameters

Parameter Description
light The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION or GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
light in interface GL


· glRotatef

Summary  |  Top
   public final void glRotatef(float angle, 
                               float x, 
                               float y, 
                               float z)  throws OpenGLException

Multiply the current matrix by a rotation matrix

Parameter Description
angle The angle of rotation in degrees
x The x-coordinate of a vector
y The y-coordinate of a vector
z The z-coordinate of a vector

Throws: OpenGLException
General OpenGL Error
Implements:
glRotatef in interface GL


· rotate

Summary  |  Top
   public final void rotate(float angle, 
                            float x, 
                            float y, 
                            float z)  throws OpenGLException

Multiply the current matrix by a rotation matrix

Parameter Description
angle The angle of rotation in degrees
x The x-coordinate of a vector
y The y-coordinate of a vector
z The z-coordinate of a vector

Throws: OpenGLException
General OpenGL Error
Implements:
rotate in interface GL


· glTexCoord2iv

Summary  |  Top
   public final void glTexCoord2iv(int[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord2iv in interface GL


· glMapGrid1d

Summary  |  Top
   public final void glMapGrid1d(int un, 
                                 double u1, 
                                 double u2)  throws OpenGLException

Define a one-dimensional mesh

Parameter Description
un Specifies the number of partitions in the grid range interval
u1 A domain value grid mapping
u2 A domain value grid mapping

Throws: OpenGLException
General OpenGL Error
Implements:
glMapGrid1d in interface GL


· mapGrid

Summary  |  Top
   public final void mapGrid(int un, 
                             double u1, 
                             double u2)  throws OpenGLException

Define a one-dimensional mesh

Parameter Description
un Specifies the number of partitions in the grid range interval
u1 A domain value grid mapping
u2 A domain value grid mapping

Throws: OpenGLException
General OpenGL Error
Implements:
mapGrid in interface GL


· glRasterPos4d

Summary  |  Top
   public final void glRasterPos4d(double x, 
                                   double y, 
                                   double z, 
                                   double w)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position
z The z-coordinate of the raster position
w The w-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos4d in interface GL


· glMultMatrixd

Summary  |  Top
   public final void glMultMatrixd(double[][] m)  throws OpenGLException

Multiply the current matrix by an arbitrary matrix

Parameter Description
m An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
glMultMatrixd in interface GL


· multMatrix

Summary  |  Top
   public final void multMatrix(double[][] m)  throws OpenGLException

Multiply the current matrix by an arbitrary matrix

Parameter Description
m An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
multMatrix in interface GL


· glMultMatrixd

Summary  |  Top
   public final void glMultMatrixd(double[] m)  throws OpenGLException

Multiply the current matrix by an arbitrary matrix

Parameter Description
m An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
glMultMatrixd in interface GL


· multMatrix

Summary  |  Top
   public final void multMatrix(double[] m)  throws OpenGLException

Multiply the current matrix by an arbitrary matrix

Parameter Description
m An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
multMatrix in interface GL


· glMapGrid1f

Summary  |  Top
   public final void glMapGrid1f(int un, 
                                 float u1, 
                                 float u2)  throws OpenGLException

Define a one-dimensional mesh

Parameter Description
un Specifies the number of partitions in the grid range interval
u1 A domain value grid mapping
u2 A domain value grid mapping

Throws: OpenGLException
General OpenGL Error
Implements:
glMapGrid1f in interface GL


· mapGrid

Summary  |  Top
   public final void mapGrid(int un, 
                             float u1, 
                             float u2)  throws OpenGLException

Define a one-dimensional mesh

Parameter Description
un Specifies the number of partitions in the grid range interval
u1 A domain value grid mapping
u2 A domain value grid mapping

Throws: OpenGLException
General OpenGL Error
Implements:
mapGrid in interface GL


· glRasterPos4f

Summary  |  Top
   public final void glRasterPos4f(float x, 
                                   float y, 
                                   float z, 
                                   float w)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position
z The z-coordinate of the raster position
w The w-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos4f in interface GL


· glMultMatrixf

Summary  |  Top
   public final void glMultMatrixf(float[][] m)  throws OpenGLException

Multiply the current matrix by an arbitrary matrix

Parameter Description
m An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
glMultMatrixf in interface GL


· multMatrix

Summary  |  Top
   public final void multMatrix(float[][] m)  throws OpenGLException

Multiply the current matrix by an arbitrary matrix

Parameter Description
m An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
multMatrix in interface GL


· glMultMatrixf

Summary  |  Top
   public final void glMultMatrixf(float[] m)  throws OpenGLException

Multiply the current matrix by an arbitrary matrix

Parameter Description
m An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
glMultMatrixf in interface GL


· multMatrix

Summary  |  Top
   public final void multMatrix(float[] m)  throws OpenGLException

Multiply the current matrix by an arbitrary matrix

Parameter Description
m An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
multMatrix in interface GL


· glPixelMapusv

Summary  |  Top
   public final void glPixelMapusv(int map, 
                                   int mapsize, 
                                   short[] values)  throws OpenGLException

Set up pixel transfer maps

Parameter Description
map Specifies a symbolic map name
mapsize Specifies the size of the map being defined
values Specifies an array of `mapsize' values

Throws: OpenGLException
General OpenGL Error
Implements:
glPixelMapusv in interface GL


· pixelMap

Summary  |  Top
   public final void pixelMap(int map, 
                              int mapsize, 
                              short[] values)  throws OpenGLException

Set up pixel transfer maps

Parameter Description
map Specifies a symbolic map name
mapsize Specifies the size of the map being defined
values Specifies an array of `mapsize' values

Throws: OpenGLException
General OpenGL Error
Implements:
pixelMap in interface GL


· glRasterPos4i

Summary  |  Top
   public final void glRasterPos4i(int x, 
                                   int y, 
                                   int z, 
                                   int w)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position
z The z-coordinate of the raster position
w The w-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos4i in interface GL


· glGetIntegerv

Summary  |  Top
   public final void glGetIntegerv(int pname, 
                                   int[] params)  throws OpenGLException

Return the value or values of a specified parameter

Parameter Description
pname A symbolic constant signifying which state variable to return
params The buffer to fill with the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetIntegerv in interface GL


· getInteger

Summary  |  Top
   public final void getInteger(int pname, 
                                int[] params)  throws OpenGLException

Return the value or values of a specified parameter

Parameter Description
pname A symbolic constant signifying which state variable to return
params The buffer to fill with the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getInteger in interface GL


· glGetTexGendv

Summary  |  Top
   public final void glGetTexGendv(int coord, 
                                   int pname, 
                                   double[] params)  throws OpenGLException

Return texture coordinate generation parameters

Parameter Description
coord Specifies a texture coordinate
pname Specifies the symbolic name of the value or values to be returned
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexGendv in interface GL


· getTexGen

Summary  |  Top
   public final void getTexGen(int coord, 
                               int pname, 
                               double[] params)  throws OpenGLException

Return texture coordinate generation parameters

Parameter Description
coord Specifies a texture coordinate
pname Specifies the symbolic name of the value or values to be returned
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getTexGen in interface GL


· glDrawBuffer

Summary  |  Top
   public final void glDrawBuffer(int mode)  throws OpenGLException

Specify which colour buffers are to be drawn into

Parameter Description
mode The buffer to enable. Legal values are GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_AUXi, GL_FRONT_AND_BACK, GL_NONE. Note that separation between left and right buffers is only possible on stereo capable hardware

Throws: OpenGLException
General OpenGL Error
Implements:
glDrawBuffer in interface GL


· drawBuffer

Summary  |  Top
   public final void drawBuffer(int mode)  throws OpenGLException

Specify which colour buffers are to be drawn into

Parameter Description
mode The buffer to enable. Legal values are GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_AUXi, GL_FRONT_AND_BACK, GL_NONE. Note that separation between left and right buffers is only possible on stereo capable hardware

Throws: OpenGLException
General OpenGL Error
Implements:
drawBuffer in interface GL


· glGetTexLevelParameteriv

Summary  |  Top
   public final void glGetTexLevelParameteriv(int target, 
                                              int level, 
                                              int pname, 
                                              int[] params)  throws OpenGLException

Return texture parameter values for a specific level of detail

Parameter Description
target The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D
level The mipmap level-of-detail
pname The texture parameter that is being queried. Legal values are GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_BORDER, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE or GL_TEXTURE_INTENSITY_SIZE
params The buffer into which the queried values are returned

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexLevelParameteriv in interface GL


· getTexLevelParameter

Summary  |  Top
   public final void getTexLevelParameter(int target, 
                                          int level, 
                                          int pname, 
                                          int[] params)  throws OpenGLException

Return texture parameter values for a specific level of detail

Parameter Description
target The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D
level The mipmap level-of-detail
pname The texture parameter that is being queried. Legal values are GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_BORDER, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE or GL_TEXTURE_INTENSITY_SIZE
params The buffer into which the queried values are returned

Throws: OpenGLException
General OpenGL Error
Implements:
getTexLevelParameter in interface GL


· glTexGeniv

Summary  |  Top
   public final void glTexGeniv(int coord, 
                                int pname, 
                                int[] param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glTexGeniv in interface GL


· texGen

Summary  |  Top
   public final void texGen(int coord, 
                            int pname, 
                            int[] param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
texGen in interface GL


· glRasterPos4s

Summary  |  Top
   public final void glRasterPos4s(short x, 
                                   short y, 
                                   short z, 
                                   short w)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position
z The z-coordinate of the raster position
w The w-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos4s in interface GL


· glVertex2iv

Summary  |  Top
   public final void glVertex2iv(int[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex2iv in interface GL


· glLightModelf

Summary  |  Top
   public final void glLightModelf(int pname, 
                                   float param)  throws OpenGLException

Set the lighting model parameters

Parameter Description
pname The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glLightModelf in interface GL


· lightModel

Summary  |  Top
   public final void lightModel(int pname, 
                                float param)  throws OpenGLException

Set the lighting model parameters

Parameter Description
pname The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
lightModel in interface GL


· glLightModeli

Summary  |  Top
   public final void glLightModeli(int pname, 
                                   int param)  throws OpenGLException

Set the lighting model parameters

Parameter Description
pname The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glLightModeli in interface GL


· lightModel

Summary  |  Top
   public final void lightModel(int pname, 
                                int param)  throws OpenGLException

Set the lighting model parameters

Parameter Description
pname The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
lightModel in interface GL


· glVertex2d

Summary  |  Top
   public final void glVertex2d(double x, 
                                double y)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex2d in interface GL


· glPrioritizeTextures

Summary  |  Top
   public final void glPrioritizeTextures(int n, 
                                          int[] textures, 
                                          float[] priorities)  throws OpenGLException

Assigns priorities to texture objects in a given texture array. This indicates whether or not textures should be made resident or not

Parameter Description
n The number of textures to be prioritized
textures The names of the textures to be prioritized
priorities The priorities of the named textures

Throws: OpenGLException
General OpenGL Error
Implements:
glPrioritizeTextures in interface GL


· prioritizeTextures

Summary  |  Top
   public final void prioritizeTextures(int n, 
                                        int[] textures, 
                                        float[] priorities)  throws OpenGLException

Assigns priorities to texture objects in a given texture array. This indicates whether or not textures should be made resident or not

Parameter Description
n The number of textures to be prioritized
textures The names of the textures to be prioritized
priorities The priorities of the named textures

Throws: OpenGLException
General OpenGL Error
Implements:
prioritizeTextures in interface GL


· glVertex2f

Summary  |  Top
   public final void glVertex2f(float x, 
                                float y)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex2f in interface GL


· glTexEnvfv

Summary  |  Top
   public final void glTexEnvfv(int target, 
                                int pname, 
                                float[] param)  throws OpenGLException

Set texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
param Specifies symbolic constants

Throws: OpenGLException
General OpenGL Error
Implements:
glTexEnvfv in interface GL


· texEnv

Summary  |  Top
   public final void texEnv(int target, 
                            int pname, 
                            float[] param)  throws OpenGLException

Set texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
param Specifies symbolic constants

Throws: OpenGLException
General OpenGL Error
Implements:
texEnv in interface GL


· glDeleteTextures

Summary  |  Top
   public final void glDeleteTextures(int n, 
                                      int[] textureNames)  throws OpenGLException

Deletes the given texture objects completely. This frees the resources taken up by the texture objects, as opposed to simply unbinding texture objects which does not free resources

Parameter Description
n The number of texture objects to delete
textureNames The names of the texture objects to delete

Throws: OpenGLException
General OpenGL Error
Implements:
glDeleteTextures in interface GL


· deleteTextures

Summary  |  Top
   public final void deleteTextures(int n, 
                                    int[] textureNames)  throws OpenGLException

Deletes the given texture objects completely. This frees the resources taken up by the texture objects, as opposed to simply unbinding texture objects which does not free resources

Parameter Description
n The number of texture objects to delete
textureNames The names of the texture objects to delete

Throws: OpenGLException
General OpenGL Error
Implements:
deleteTextures in interface GL


· glTexCoord4fv

Summary  |  Top
   public final void glTexCoord4fv(float[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord4fv in interface GL


· glVertex2i

Summary  |  Top
   public final void glVertex2i(int x, 
                                int y)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex2i in interface GL


· glMapGrid2d

Summary  |  Top
   public final void glMapGrid2d(int un, 
                                 double u1, 
                                 double u2, 
                                 int vn, 
                                 double v1, 
                                 double v2)  throws OpenGLException

Define a two-dimensional mesh

Parameter Description
un Specifies the number of partitions in the grid range interval
u1 A domain value grid mapping
u2 A domain value grid mapping
vn Specifies the number of grid range partitions
v1 A domain value grid mapping
v2 A domain value grid mapping

Throws: OpenGLException
General OpenGL Error
Implements:
glMapGrid2d in interface GL


· mapGrid

Summary  |  Top
   public final void mapGrid(int un, 
                             double u1, 
                             double u2, 
                             int vn, 
                             double v1, 
                             double v2)  throws OpenGLException

Define a two-dimensional mesh

Parameter Description
un Specifies the number of partitions in the grid range interval
u1 A domain value grid mapping
u2 A domain value grid mapping
vn Specifies the number of grid range partitions
v1 A domain value grid mapping
v2 A domain value grid mapping

Throws: OpenGLException
General OpenGL Error
Implements:
mapGrid in interface GL


· glNormal3iv

Summary  |  Top
   public final void glNormal3iv(int[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3iv in interface GL


· normal

Summary  |  Top
   public final void normal(int[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glMapGrid2f

Summary  |  Top
   public final void glMapGrid2f(int un, 
                                 float u1, 
                                 float u2, 
                                 int vn, 
                                 float v1, 
                                 float v2)  throws OpenGLException

Define a two-dimensional mesh

Parameter Description
un Specifies the number of partitions in the grid range interval
u1 A domain value grid mapping
u2 A domain value grid mapping
vn Specifies the number of grid range partitions
v1 A domain value grid mapping
v2 A domain value grid mapping

Throws: OpenGLException
General OpenGL Error
Implements:
glMapGrid2f in interface GL


· mapGrid

Summary  |  Top
   public final void mapGrid(int un, 
                             float u1, 
                             float u2, 
                             int vn, 
                             float v1, 
                             float v2)  throws OpenGLException

Define a two-dimensional mesh

Parameter Description
un Specifies the number of partitions in the grid range interval
u1 A domain value grid mapping
u2 A domain value grid mapping
vn Specifies the number of grid range partitions
v1 A domain value grid mapping
v2 A domain value grid mapping

Throws: OpenGLException
General OpenGL Error
Implements:
mapGrid in interface GL


· glGetMapiv

Summary  |  Top
   public final void glGetMapiv(int target, 
                                int query, 
                                int[] v)  throws OpenGLException

Return evaluator parameters

Parameter Description
target Specifies the symbolic constant of a map
query Specifies which parameter to return
v Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetMapiv in interface GL


· getMap

Summary  |  Top
   public final void getMap(int target, 
                            int query, 
                            int[] v)  throws OpenGLException

Return evaluator parameters

Parameter Description
target Specifies the symbolic constant of a map
query Specifies which parameter to return
v Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getMap in interface GL


· glRasterPos4sv

Summary  |  Top
   public final void glRasterPos4sv(short[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos4sv in interface GL


· glVertex2s

Summary  |  Top
   public final void glVertex2s(short x, 
                                short y)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex2s in interface GL


· glEnableClientState

Summary  |  Top
   public final void glEnableClientState(int array)  throws OpenGLException

Enable client-side capabiltity

Parameter Description
array Specifies the capability to enable

Throws: OpenGLException
General OpenGL Error
Implements:
glEnableClientState in interface GL


· enableClientState

Summary  |  Top
   public final void enableClientState(int array)  throws OpenGLException

Enable client-side capabiltity

Parameter Description
array Specifies the capability to enable

Throws: OpenGLException
General OpenGL Error
Implements:
enableClientState in interface GL


· glMaterialfv

Summary  |  Top
   public final void glMaterialfv(int face, 
                                  int pname, 
                                  float[] params)  throws OpenGLException

Specify material parameters for the lighting model

Parameter Description
face Specify which faces are being updated
pname Spcifies the material parameter that is being updated
params Specifies an array of material data

Throws: OpenGLException
General OpenGL Error
Implements:
glMaterialfv in interface GL


· material

Summary  |  Top
   public final void material(int face, 
                              int pname, 
                              float[] params)  throws OpenGLException

Specify material parameters for the lighting model

Parameter Description
face Specify which faces are being updated
pname Spcifies the material parameter that is being updated
params Specifies an array of material data

Throws: OpenGLException
General OpenGL Error
Implements:
material in interface GL


· glVertex4fv

Summary  |  Top
   public final void glVertex4fv(float[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex4fv in interface GL


· glGetTexParameterfv

Summary  |  Top
   public final void glGetTexParameterfv(int target, 
                                         int pname, 
                                         float[] params)  throws OpenGLException

Return texture parameter values

Parameter Description
target Specifies the symbolic name of the target texture
pname The texture type
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexParameterfv in interface GL


· getTexParameter

Summary  |  Top
   public final void getTexParameter(int target, 
                                     int pname, 
                                     float[] params)  throws OpenGLException

Return texture parameter values

Parameter Description
target Specifies the symbolic name of the target texture
pname The texture type
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getTexParameter in interface GL


· glPolygonOffset

Summary  |  Top
   public final void glPolygonOffset(float factor, 
                                     float units)  throws OpenGLException

When enabled, the depth value of each fragment is added to a calculated offset value. This is particularly useful for simulating hidden-line removal, or outlining polygons

Parameter Description
factor Specifies a scale factor that is used to create a variable depth effect
units Used to create a constant depth offset

Throws: OpenGLException
General OpenGL Error
Implements:
glPolygonOffset in interface GL


· polygonOffset

Summary  |  Top
   public final void polygonOffset(float factor, 
                                   float units)  throws OpenGLException

When enabled, the depth value of each fragment is added to a calculated offset value. This is particularly useful for simulating hidden-line removal, or outlining polygons

Parameter Description
factor Specifies a scale factor that is used to create a variable depth effect
units Used to create a constant depth offset

Throws: OpenGLException
General OpenGL Error
Implements:
polygonOffset in interface GL


· glRasterPos4dv

Summary  |  Top
   public final void glRasterPos4dv(double[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos4dv in interface GL


· glRasterPos3fv

Summary  |  Top
   public final void glRasterPos3fv(float[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos3fv in interface GL


· glVertex3d

Summary  |  Top
   public final void glVertex3d(double x, 
                                double y, 
                                double z)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate
z The z-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex3d in interface GL


· glFrustum

Summary  |  Top
   public final void glFrustum(double left, 
                               double right, 
                               double bottom, 
                               double top, 
                               double nearValue, 
                               double farValue)  throws OpenGLException

Multiply the current matrix by a perspective matrix

Parameter Description
left The left edge of the view frustum
right The right edge of the view frustum
bottom The bottom edge of the view frustum
top The top edge of the view frustum
nearValue The near clipping plane distance
farValue The far clipping plane distance

Throws: OpenGLException
General OpenGL Error
Implements:
glFrustum in interface GL


· frustum

Summary  |  Top
   public final void frustum(double left, 
                             double right, 
                             double bottom, 
                             double top, 
                             double nearValue, 
                             double farValue)  throws OpenGLException

Multiply the current matrix by a perspective matrix

Parameter Description
left The left edge of the view frustum
right The right edge of the view frustum
bottom The bottom edge of the view frustum
top The top edge of the view frustum
nearValue The near clipping plane distance
farValue The far clipping plane distance

Throws: OpenGLException
General OpenGL Error
Implements:
frustum in interface GL


· glVertex3f

Summary  |  Top
   public final void glVertex3f(float x, 
                                float y, 
                                float z)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate
z The z-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex3f in interface GL


· glListBase

Summary  |  Top
   public final void glListBase(int base)  throws OpenGLException

Set the display list base for glCallLists

Parameter Description
base Offset to be added to the display list indices in `glCallLists()'

Throws: OpenGLException
General OpenGL Error
Implements:
glListBase in interface GL


· listBase

Summary  |  Top
   public final void listBase(int base)  throws OpenGLException

Set the display list base for glCallLists

Parameter Description
base Offset to be added to the display list indices in `glCallLists()'

Throws: OpenGLException
General OpenGL Error
Implements:
listBase in interface GL


· glVertex3i

Summary  |  Top
   public final void glVertex3i(int x, 
                                int y, 
                                int z)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate
z The z-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex3i in interface GL


· glTexCoord3iv

Summary  |  Top
   public final void glTexCoord3iv(int[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord3iv in interface GL


· glPixelMapfv

Summary  |  Top
   public final void glPixelMapfv(int map, 
                                  int mapsize, 
                                  float[] values)  throws OpenGLException

Set up pixel transfer maps

Parameter Description
map Specifies a symbolic map name
mapsize Specifies the size of the map being defined
values Specifies an array of `mapsize' values

Throws: OpenGLException
General OpenGL Error
Implements:
glPixelMapfv in interface GL


· pixelMap

Summary  |  Top
   public final void pixelMap(int map, 
                              int mapsize, 
                              float[] values)  throws OpenGLException

Set up pixel transfer maps

Parameter Description
map Specifies a symbolic map name
mapsize Specifies the size of the map being defined
values Specifies an array of `mapsize' values

Throws: OpenGLException
General OpenGL Error
Implements:
pixelMap in interface GL


· glVertex3s

Summary  |  Top
   public final void glVertex3s(short x, 
                                short y, 
                                short z)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate
z The z-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex3s in interface GL


· glGetTexGenfv

Summary  |  Top
   public final void glGetTexGenfv(int coord, 
                                   int pname, 
                                   float[] params)  throws OpenGLException

Return texture coordinate generation parameters

Parameter Description
coord Specifies a texture coordinate
pname Specifies the symbolic name of the value or values to be returned
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexGenfv in interface GL


· getTexGen

Summary  |  Top
   public final void getTexGen(int coord, 
                               int pname, 
                               float[] params)  throws OpenGLException

Return texture coordinate generation parameters

Parameter Description
coord Specifies a texture coordinate
pname Specifies the symbolic name of the value or values to be returned
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getTexGen in interface GL


· glInitNames

Summary  |  Top
   public final void glInitNames()  throws OpenGLException

Initialize the name stack

Throws: OpenGLException
General OpenGL Error
Implements:
glInitNames in interface GL


· initNames

Summary  |  Top
   public final void initNames()  throws OpenGLException

Initialize the name stack

Throws: OpenGLException
General OpenGL Error
Implements:
initNames in interface GL


· glColor3bv

Summary  |  Top
   public final void glColor3bv(byte[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 3 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3bv in interface GL


· glVertex3iv

Summary  |  Top
   public final void glVertex3iv(int[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex3iv in interface GL


· glRasterPos2iv

Summary  |  Top
   public final void glRasterPos2iv(int[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos2iv in interface GL


· glPixelStoref

Summary  |  Top
   public final void glPixelStoref(int pname, 
                                   float param)  throws OpenGLException

Set pixel storage maps

Parameter Description
pname The symbolic name of the parameter to be set
param The value that `pname' is to be set to

Throws: OpenGLException
General OpenGL Error
Implements:
glPixelStoref in interface GL


· pixelStore

Summary  |  Top
   public final void pixelStore(int pname, 
                                float param)  throws OpenGLException

Set pixel storage maps

Parameter Description
pname The symbolic name of the parameter to be set
param The value that `pname' is to be set to

Throws: OpenGLException
General OpenGL Error
Implements:
pixelStore in interface GL


· glVertex4d

Summary  |  Top
   public final void glVertex4d(double x, 
                                double y, 
                                double z, 
                                double w)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate
z The z-coordinate
w The w-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex4d in interface GL


· glLightiv

Summary  |  Top
   public final void glLightiv(int light, 
                               int pname, 
                               int[] param)  throws OpenGLException

Set the lighting model parameters

Parameter Description
light The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION or GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glLightiv in interface GL


· light

Summary  |  Top
   public final void light(int light, 
                           int pname, 
                           int[] param)  throws OpenGLException

Set the lighting model parameters

Parameter Description
light The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION or GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
light in interface GL


· glVertex4f

Summary  |  Top
   public final void glVertex4f(float x, 
                                float y, 
                                float z, 
                                float w)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate
z The z-coordinate
w The w-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex4f in interface GL


· glPixelStorei

Summary  |  Top
   public final void glPixelStorei(int pname, 
                                   int param)  throws OpenGLException

Set pixel storage maps

Parameter Description
pname The symbolic name of the parameter to be set
param The value that `pname' is to be set to

Throws: OpenGLException
General OpenGL Error
Implements:
glPixelStorei in interface GL


· pixelStore

Summary  |  Top
   public final void pixelStore(int pname, 
                                int param)  throws OpenGLException

Set pixel storage maps

Parameter Description
pname The symbolic name of the parameter to be set
param The value that `pname' is to be set to

Throws: OpenGLException
General OpenGL Error
Implements:
pixelStore in interface GL


· glVertex4i

Summary  |  Top
   public final void glVertex4i(int x, 
                                int y, 
                                int z, 
                                int w)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate
z The z-coordinate
w The w-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex4i in interface GL


· glClearIndex

Summary  |  Top
   public final void glClearIndex(float index)  throws OpenGLException

Specify the clear value for the colour index buffers

Parameter Description
index The colour-index to clear the colour buffer to

Throws: OpenGLException
General OpenGL Error
Implements:
glClearIndex in interface GL


· clearIndex

Summary  |  Top
   public final void clearIndex(float index)  throws OpenGLException

Specify the clear value for the colour index buffers

Parameter Description
index The colour-index to clear the colour buffer to

Throws: OpenGLException
General OpenGL Error
Implements:
clearIndex in interface GL


· glCullFace

Summary  |  Top
   public final void glCullFace(int mode)  throws OpenGLException

Specify whether front- or back-facing facets can be culled

Parameter Description
mode Indicates which polygons should be discarded. Legal values are GL_FRONT, GL_BACK or GL_FRONT_AND_BACK

Throws: OpenGLException
General OpenGL Error
Implements:
glCullFace in interface GL


· cullFace

Summary  |  Top
   public final void cullFace(int mode)  throws OpenGLException

Specify whether front- or back-facing facets can be culled

Parameter Description
mode Indicates which polygons should be discarded. Legal values are GL_FRONT, GL_BACK or GL_FRONT_AND_BACK

Throws: OpenGLException
General OpenGL Error
Implements:
cullFace in interface GL


· glFinish

Summary  |  Top
   public final void glFinish()  throws OpenGLException

Block until all GL execution is complete

Throws: OpenGLException
General OpenGL Error
Implements:
glFinish in interface GL


· finish

Summary  |  Top
   public final void finish()  throws OpenGLException

Block until all GL execution is complete

Throws: OpenGLException
General OpenGL Error
Implements:
finish in interface GL


· glVertex4s

Summary  |  Top
   public final void glVertex4s(short x, 
                                short y, 
                                short z, 
                                short w)  throws OpenGLException

Specify a vertex

Parameter Description
x The x-coordinate
y The y-coordinate
z The z-coordinate
w The w-coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex4s in interface GL


· glLineWidth

Summary  |  Top
   public final void glLineWidth(float width)  throws OpenGLException

Specify the width of rasterized lines

Parameter Description
width The width in pixels that lines should be drawn with

Throws: OpenGLException
General OpenGL Error
Implements:
glLineWidth in interface GL


· lineWidth

Summary  |  Top
   public final void lineWidth(float width)  throws OpenGLException

Specify the width of rasterized lines

Parameter Description
width The width in pixels that lines should be drawn with

Throws: OpenGLException
General OpenGL Error
Implements:
lineWidth in interface GL


· glLineStipple

Summary  |  Top
   public final void glLineStipple(int factor, 
                                   short pattern)  throws OpenGLException

Specify the line stipple pattern

Parameter Description
factor A scaling factor for the stipple pattern
pattern The pattern to be used for line stippling

Throws: OpenGLException
General OpenGL Error
Implements:
glLineStipple in interface GL


· lineStipple

Summary  |  Top
   public final void lineStipple(int factor, 
                                 short pattern)  throws OpenGLException

Specify the line stipple pattern

Parameter Description
factor A scaling factor for the stipple pattern
pattern The pattern to be used for line stippling

Throws: OpenGLException
General OpenGL Error
Implements:
lineStipple in interface GL


· glAccum

Summary  |  Top
   public final void glAccum(int op, 
                             float value)  throws OpenGLException

Operate on the accumulation buffer

Parameter Description
op Selects the operation
value The number to be used in the operation

Throws: OpenGLException
General OpenGL Error
Implements:
glAccum in interface GL


· accum

Summary  |  Top
   public final void accum(int op, 
                           float value)  throws OpenGLException

Operate on the accumulation buffer

Parameter Description
op Selects the operation
value The number to be used in the operation

Throws: OpenGLException
General OpenGL Error
Implements:
accum in interface GL


· glRasterPos4fv

Summary  |  Top
   public final void glRasterPos4fv(float[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos4fv in interface GL


· glReadBuffer

Summary  |  Top
   public final void glReadBuffer(int mode)  throws OpenGLException

Select a colour buffer source for pixels

Parameter Description
mode The colour buffer to be used as a source for reading pixels from. Legal values are GL_FRONT, GL_BACK, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_AUXi, GL_LEFT, GL_RIGHT, GL_BACK_LEFT or GL_BACK_RIGHT. The left and right buffers are only available in stereo rendering implementations of OpenGL

Throws: OpenGLException
General OpenGL Error
Implements:
glReadBuffer in interface GL


· readBuffer

Summary  |  Top
   public final void readBuffer(int mode)  throws OpenGLException

Select a colour buffer source for pixels

Parameter Description
mode The colour buffer to be used as a source for reading pixels from. Legal values are GL_FRONT, GL_BACK, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_AUXi, GL_LEFT, GL_RIGHT, GL_BACK_LEFT or GL_BACK_RIGHT. The left and right buffers are only available in stereo rendering implementations of OpenGL

Throws: OpenGLException
General OpenGL Error
Implements:
readBuffer in interface GL


· glTexEnviv

Summary  |  Top
   public final void glTexEnviv(int target, 
                                int pname, 
                                int[] param)  throws OpenGLException

Set texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
param Specifies symbolic constants

Throws: OpenGLException
General OpenGL Error
Implements:
glTexEnviv in interface GL


· texEnv

Summary  |  Top
   public final void texEnv(int target, 
                            int pname, 
                            int[] param)  throws OpenGLException

Set texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
param Specifies symbolic constants

Throws: OpenGLException
General OpenGL Error
Implements:
texEnv in interface GL


· glTexCoord4iv

Summary  |  Top
   public final void glTexCoord4iv(int[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord4iv in interface GL


· glColor3sv

Summary  |  Top
   public final void glColor3sv(short[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 3 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3sv in interface GL


· glPushName

Summary  |  Top
   public final void glPushName(int name)  throws OpenGLException

Push the name stack

Parameter Description
name The name to be pushed onto the name stack

Throws: OpenGLException
General OpenGL Error
Implements:
glPushName in interface GL


· pushName

Summary  |  Top
   public final void pushName(int name)  throws OpenGLException

Push the name stack

Parameter Description
name The name to be pushed onto the name stack

Throws: OpenGLException
General OpenGL Error
Implements:
pushName in interface GL


· glDepthRange

Summary  |  Top
   public final void glDepthRange(double nearValue, 
                                  double farValue)  throws OpenGLException

Specify the mapping z values from normalized device coordinates to window coordinates

Parameter Description
nearValue The adjustment to the minimum depth value
farValue The adjustment to the maximum depth value

Throws: OpenGLException
General OpenGL Error
Implements:
glDepthRange in interface GL


· depthRange

Summary  |  Top
   public final void depthRange(double nearValue, 
                                double farValue)  throws OpenGLException

Specify the mapping z values from normalized device coordinates to window coordinates

Parameter Description
nearValue The adjustment to the minimum depth value
farValue The adjustment to the maximum depth value

Throws: OpenGLException
General OpenGL Error
Implements:
depthRange in interface GL


· glCopyTexImage1D

Summary  |  Top
   public final void glCopyTexImage1D(int target, 
                                      int level, 
                                      int internalFormat, 
                                      int x, 
                                      int y, 
                                      int width, 
                                      int height)  throws OpenGLException

Creates a one-dimensional texture using framebuffer data to define the texels

Parameter Description
target The constant GL_TEXTURE_1D
level The mipmap level-of-detail
internalFormat The internal format of the texture
x The x-coord of the bottom-left corner of the texture
y The y-coord of the bottom-left corner of the texture
width The width of a row of pixels in the texture
height The numberd of rows in the texture

Throws: OpenGLException
General OpenGL Error
Implements:
glCopyTexImage1D in interface GL


· copyTexImage1D

Summary  |  Top
   public final void copyTexImage1D(int target, 
                                    int level, 
                                    int internalFormat, 
                                    int x, 
                                    int y, 
                                    int width, 
                                    int height)  throws OpenGLException

Creates a one-dimensional texture using framebuffer data to define the texels

Parameter Description
target The constant GL_TEXTURE_1D
level The mipmap level-of-detail
internalFormat The internal format of the texture
x The x-coord of the bottom-left corner of the texture
y The y-coord of the bottom-left corner of the texture
width The width of a row of pixels in the texture
height The numberd of rows in the texture

Throws: OpenGLException
General OpenGL Error
Implements:
copyTexImage1D in interface GL


· glLoadIdentity

Summary  |  Top
   public final void glLoadIdentity()  throws OpenGLException

Replace the current matrix with the identity matrix

Throws: OpenGLException
General OpenGL Error
Implements:
glLoadIdentity in interface GL


· loadIdentity

Summary  |  Top
   public final void loadIdentity()  throws OpenGLException

Replace the current matrix with the identity matrix

Throws: OpenGLException
General OpenGL Error
Implements:
loadIdentity in interface GL


· glColor4bv

Summary  |  Top
   public final void glColor4bv(byte[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 4 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4bv in interface GL


· glColor3dv

Summary  |  Top
   public final void glColor3dv(double[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 3 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3dv in interface GL


· glMaterialiv

Summary  |  Top
   public final void glMaterialiv(int face, 
                                  int pname, 
                                  int[] params)  throws OpenGLException

Specify material parameters for the lighting model

Parameter Description
face Specify which faces are being updated
pname Spcifies the material parameter that is being updated
params Specifies an array of material data

Throws: OpenGLException
General OpenGL Error
Implements:
glMaterialiv in interface GL


· material

Summary  |  Top
   public final void material(int face, 
                              int pname, 
                              int[] params)  throws OpenGLException

Specify material parameters for the lighting model

Parameter Description
face Specify which faces are being updated
pname Spcifies the material parameter that is being updated
params Specifies an array of material data

Throws: OpenGLException
General OpenGL Error
Implements:
material in interface GL


· glEdgeFlagPointer

Summary  |  Top
   public final void glEdgeFlagPointer(int stride, 
                                       boolean[] pointer)  throws OpenGLException

Define an array of edge flags

Parameter Description
stride The size of each edge flag value
pointer The array of edge flags

Throws: OpenGLException
General OpenGL Error
Implements:
glEdgeFlagPointer in interface GL


· edgeFlagPointer

Summary  |  Top
   public final void edgeFlagPointer(int stride, 
                                     boolean[] pointer)  throws OpenGLException

Define an array of edge flags

Parameter Description
stride The size of each edge flag value
pointer The array of edge flags

Throws: OpenGLException
General OpenGL Error
Implements:
edgeFlagPointer in interface GL


· glVertex4iv

Summary  |  Top
   public final void glVertex4iv(int[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex4iv in interface GL


· glGetTexParameteriv

Summary  |  Top
   public final void glGetTexParameteriv(int target, 
                                         int pname, 
                                         int[] params)  throws OpenGLException

Return texture parameter values

Parameter Description
target Specifies the symbolic name of the target texture
pname The texture type
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexParameteriv in interface GL


· getTexParameter

Summary  |  Top
   public final void getTexParameter(int target, 
                                     int pname, 
                                     int[] params)  throws OpenGLException

Return texture parameter values

Parameter Description
target Specifies the symbolic name of the target texture
pname The texture type
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getTexParameter in interface GL


· glEndList

Summary  |  Top
   public final void glEndList()  throws OpenGLException

Terminates the specification of a display list

Throws: OpenGLException
General OpenGL Error
Implements:
glEndList in interface GL


· endList

Summary  |  Top
   public final void endList()  throws OpenGLException

Terminates the specification of a display list

Throws: OpenGLException
General OpenGL Error
Implements:
endList in interface GL


· glGetLightfv

Summary  |  Top
   public final void glGetLightfv(int light, 
                                  int pname, 
                                  float[] params)  throws OpenGLException

Return light source parameter values

Parameter Description
light Specifies a light source
pname Specifies a light source parameter for `light'
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetLightfv in interface GL


· getLight

Summary  |  Top
   public final void getLight(int light, 
                              int pname, 
                              float[] params)  throws OpenGLException

Return light source parameter values

Parameter Description
light Specifies a light source
pname Specifies a light source parameter for `light'
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getLight in interface GL


· glRasterPos3iv

Summary  |  Top
   public final void glRasterPos3iv(int[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos3iv in interface GL


· glRectsv

Summary  |  Top
   public final void glRectsv(short[] v1, 
                              short[] v2)  throws OpenGLException

Draw a rectangle

Parameter Description
v1 Buffer containing two coordinates for the first corner of the rectangle
v2 Buffer containing two coordinates for the second corner of the rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
glRectsv in interface GL


· rect

Summary  |  Top
   public final void rect(short[] v1, 
                          short[] v2)  throws OpenGLException

Draw a rectangle

Parameter Description
v1 Buffer containing two coordinates for the first corner of the rectangle
v2 Buffer containing two coordinates for the second corner of the rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
rect in interface GL


· glFogfv

Summary  |  Top
   public final void glFogfv(int pname, 
                             float[] params)  throws OpenGLException

Specify fog parameters

Parameter Description
pname The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
params The values of the given parameter in `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
glFogfv in interface GL


· fog

Summary  |  Top
   public final void fog(int pname, 
                         float[] params)  throws OpenGLException

Specify fog parameters

Parameter Description
pname The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
params The values of the given parameter in `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
fog in interface GL


· glIndexd

Summary  |  Top
   public final void glIndexd(double c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexd in interface GL


· index

Summary  |  Top
   public final void index(double c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glTexCoord1d

Summary  |  Top
   public final void glTexCoord1d(double s)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord1d in interface GL


· glNormal3b

Summary  |  Top
   public final void glNormal3b(byte nx, 
                                byte ny, 
                                byte nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3b in interface GL


· normal

Summary  |  Top
   public final void normal(byte nx, 
                            byte ny, 
                            byte nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glIndexf

Summary  |  Top
   public final void glIndexf(float c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexf in interface GL


· index

Summary  |  Top
   public final void index(float c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glGetPixelMapusv

Summary  |  Top
   public final void glGetPixelMapusv(int map, 
                                      short[] values)  throws OpenGLException

Return the specified pixel map

Parameter Description
map Specifies the name of the pixel map to return
values Returns the pixel map contents

Throws: OpenGLException
General OpenGL Error
Implements:
glGetPixelMapusv in interface GL


· getPixelMap

Summary  |  Top
   public final void getPixelMap(int map, 
                                 short[] values)  throws OpenGLException

Return the specified pixel map

Parameter Description
map Specifies the name of the pixel map to return
values Returns the pixel map contents

Throws: OpenGLException
General OpenGL Error
Implements:
getPixelMap in interface GL


· glTexCoord1f

Summary  |  Top
   public final void glTexCoord1f(float s)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord1f in interface GL


· glColor3ubv

Summary  |  Top
   public final void glColor3ubv(byte[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 3 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3ubv in interface GL


· glNormal3d

Summary  |  Top
   public final void glNormal3d(double nx, 
                                double ny, 
                                double nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3d in interface GL


· normal

Summary  |  Top
   public final void normal(double nx, 
                            double ny, 
                            double nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glIndexi

Summary  |  Top
   public final void glIndexi(int c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexi in interface GL


· index

Summary  |  Top
   public final void index(int c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glDepthFunc

Summary  |  Top
   public final void glDepthFunc(int func)  throws OpenGLException

Specify the value used for depth buffer comparisons

Parameter Description
func The comparison function to be used for depth-testing fragments. The legal values are GL_NEVER, GL_ALWAYS, GL_LESS, GL_LEQUAL, GL_EQUAL, GL_GEQUAL, GL_GREATER or GL_NOTEQUAL

Throws: OpenGLException
General OpenGL Error
Implements:
glDepthFunc in interface GL


· depthFunc

Summary  |  Top
   public final void depthFunc(int func)  throws OpenGLException

Specify the value used for depth buffer comparisons

Parameter Description
func The comparison function to be used for depth-testing fragments. The legal values are GL_NEVER, GL_ALWAYS, GL_LESS, GL_LEQUAL, GL_EQUAL, GL_GEQUAL, GL_GREATER or GL_NOTEQUAL

Throws: OpenGLException
General OpenGL Error
Implements:
depthFunc in interface GL


· glTexCoord1i

Summary  |  Top
   public final void glTexCoord1i(int s)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord1i in interface GL


· glNormal3f

Summary  |  Top
   public final void glNormal3f(float nx, 
                                float ny, 
                                float nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3f in interface GL


· normal

Summary  |  Top
   public final void normal(float nx, 
                            float ny, 
                            float nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glFlush

Summary  |  Top
   public final void glFlush()  throws OpenGLException

Force execution of GL commands in finite time

Throws: OpenGLException
General OpenGL Error
Implements:
glFlush in interface GL


· flush

Summary  |  Top
   public final void flush()  throws OpenGLException

Force execution of GL commands in finite time

Throws: OpenGLException
General OpenGL Error
Implements:
flush in interface GL


· glNormal3i

Summary  |  Top
   public final void glNormal3i(int nx, 
                                int ny, 
                                int nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3i in interface GL


· normal

Summary  |  Top
   public final void normal(int nx, 
                            int ny, 
                            int nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glCopyTexImage2D

Summary  |  Top
   public final void glCopyTexImage2D(int target, 
                                      int level, 
                                      int internalFormat, 
                                      int x, 
                                      int y, 
                                      int width, 
                                      int height, 
                                      int border)  throws OpenGLException

Creates a two-dimensional texture using framebuffer data to define the texels

Parameter Description
target The constant GL_TEXTURE_2D
level The mipmap level-of-detail
internalFormat The internal format of the texture data
x The x-coord of the bottom-left of the framebuffer rectangle
y The y-coord of the bottom-left of the framebuffer rectangle
width The width of the rectangle to copy
height The height of the rectangle to copy
border The width of the texture border

Throws: OpenGLException
General OpenGL Error
Implements:
glCopyTexImage2D in interface GL


· copyTexImage2D

Summary  |  Top
   public final void copyTexImage2D(int target, 
                                    int level, 
                                    int internalFormat, 
                                    int x, 
                                    int y, 
                                    int width, 
                                    int height, 
                                    int border)  throws OpenGLException

Creates a two-dimensional texture using framebuffer data to define the texels

Parameter Description
target The constant GL_TEXTURE_2D
level The mipmap level-of-detail
internalFormat The internal format of the texture data
x The x-coord of the bottom-left of the framebuffer rectangle
y The y-coord of the bottom-left of the framebuffer rectangle
width The width of the rectangle to copy
height The height of the rectangle to copy
border The width of the texture border

Throws: OpenGLException
General OpenGL Error
Implements:
copyTexImage2D in interface GL


· glEnable

Summary  |  Top
   public final void glEnable(int cap)  throws OpenGLException

Enable or disable GL capabilities

Parameter Description
cap The capability to turn on

Throws: OpenGLException
General OpenGL Error
Implements:
glEnable in interface GL


· enable

Summary  |  Top
   public final void enable(int cap)  throws OpenGLException

Enable or disable GL capabilities

Parameter Description
cap The capability to turn on

Throws: OpenGLException
General OpenGL Error
Implements:
enable in interface GL


· glRectdv

Summary  |  Top
   public final void glRectdv(double[] v1, 
                              double[] v2)  throws OpenGLException

Draw a rectangle

Parameter Description
v1 Buffer containing two coordinates for the first corner of the rectangle
v2 Buffer containing two coordinates for the second corner of the rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
glRectdv in interface GL


· rect

Summary  |  Top
   public final void rect(double[] v1, 
                          double[] v2)  throws OpenGLException

Draw a rectangle

Parameter Description
v1 Buffer containing two coordinates for the first corner of the rectangle
v2 Buffer containing two coordinates for the second corner of the rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
rect in interface GL


· glColor3ub

Summary  |  Top
   public final void glColor3ub(byte r, 
                                byte g, 
                                byte b)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3ub in interface GL


· glEvalCoord1dv

Summary  |  Top
   public final void glEvalCoord1dv(double[] u)  throws OpenGLException

Evaluate enabled one- and two-dimensional maps

Parameter Description
u Pointer to the domain coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalCoord1dv in interface GL


· glGetTexGeniv

Summary  |  Top
   public final void glGetTexGeniv(int coord, 
                                   int pname, 
                                   int[] params)  throws OpenGLException

Return texture coordinate generation parameters

Parameter Description
coord Specifies a texture coordinate
pname Specifies the symbolic name of the value or values to be returned
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexGeniv in interface GL


· getTexGen

Summary  |  Top
   public final void getTexGen(int coord, 
                               int pname, 
                               int[] params)  throws OpenGLException

Return texture coordinate generation parameters

Parameter Description
coord Specifies a texture coordinate
pname Specifies the symbolic name of the value or values to be returned
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getTexGen in interface GL


· glIndexs

Summary  |  Top
   public final void glIndexs(short c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexs in interface GL


· index

Summary  |  Top
   public final void index(short c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glTexCoord1s

Summary  |  Top
   public final void glTexCoord1s(short s)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord1s in interface GL


· glTexGend

Summary  |  Top
   public final void glTexGend(int coord, 
                               int pname, 
                               double param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glTexGend in interface GL


· texGen

Summary  |  Top
   public final void texGen(int coord, 
                            int pname, 
                            double param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
texGen in interface GL


· glNormal3s

Summary  |  Top
   public final void glNormal3s(short nx, 
                                short ny, 
                                short nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3s in interface GL


· normal

Summary  |  Top
   public final void normal(short nx, 
                            short ny, 
                            short nz)  throws OpenGLException

Set the current normal vector

Parameter Description
nx The x-coordinate of the normal vector
ny The y-coordinate of the normal vector
nz The z-coordinate of the normal vector

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glColor3ui

Summary  |  Top
   public final void glColor3ui(int r, 
                                int g, 
                                int b)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3ui in interface GL


· glTexGenf

Summary  |  Top
   public final void glTexGenf(int coord, 
                               int pname, 
                               float param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glTexGenf in interface GL


· texGen

Summary  |  Top
   public final void texGen(int coord, 
                            int pname, 
                            float param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
texGen in interface GL


· glBlendFunc

Summary  |  Top
   public final void glBlendFunc(int sfactor, 
                                 int dfactor)  throws OpenGLException

Specify pixel arithmetic

Parameter Description
sfactor Indicates how source blending factor is to be computed
dfactor Indicates how to compute destination blending factor

Throws: OpenGLException
General OpenGL Error
Implements:
glBlendFunc in interface GL


· blendFunc

Summary  |  Top
   public final void blendFunc(int sfactor, 
                               int dfactor)  throws OpenGLException

Specify pixel arithmetic

Parameter Description
sfactor Indicates how source blending factor is to be computed
dfactor Indicates how to compute destination blending factor

Throws: OpenGLException
General OpenGL Error
Implements:
blendFunc in interface GL


· glAlphaFunc

Summary  |  Top
   public final void glAlphaFunc(int func, 
                                 float value)  throws OpenGLException

Specify the alpha test function

Parameter Description
func The comparison function for the alpha test
value The reference value for the test

Throws: OpenGLException
General OpenGL Error
Implements:
glAlphaFunc in interface GL


· alphaFunc

Summary  |  Top
   public final void alphaFunc(int func, 
                               float value)  throws OpenGLException

Specify the alpha test function

Parameter Description
func The comparison function for the alpha test
value The reference value for the test

Throws: OpenGLException
General OpenGL Error
Implements:
alphaFunc in interface GL


· glTexGeni

Summary  |  Top
   public final void glTexGeni(int coord, 
                               int pname, 
                               int param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glTexGeni in interface GL


· texGen

Summary  |  Top
   public final void texGen(int coord, 
                            int pname, 
                            int param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
texGen in interface GL


· glPixelMapuiv

Summary  |  Top
   public final void glPixelMapuiv(int map, 
                                   int mapsize, 
                                   int[] values)  throws OpenGLException

Set up pixel transfer maps

Parameter Description
map Specifies a symbolic map name
mapsize Specifies the size of the map being defined
values Specifies an array of `mapsize' values

Throws: OpenGLException
General OpenGL Error
Implements:
glPixelMapuiv in interface GL


· pixelMap

Summary  |  Top
   public final void pixelMap(int map, 
                              int mapsize, 
                              int[] values)  throws OpenGLException

Set up pixel transfer maps

Parameter Description
map Specifies a symbolic map name
mapsize Specifies the size of the map being defined
values Specifies an array of `mapsize' values

Throws: OpenGLException
General OpenGL Error
Implements:
pixelMap in interface GL


· glMaterialf

Summary  |  Top
   public final void glMaterialf(int face, 
                                 int pname, 
                                 float param)  throws OpenGLException

Specify material parameters for the lighting model

Parameter Description
face Specify which faces are being updated
pname Specifies the single-valued material parameter to be updated
param Specifies the value that parameter GL_SHININESS will be set to

Throws: OpenGLException
General OpenGL Error
Implements:
glMaterialf in interface GL


· material

Summary  |  Top
   public final void material(int face, 
                              int pname, 
                              float param)  throws OpenGLException

Specify material parameters for the lighting model

Parameter Description
face Specify which faces are being updated
pname Specifies the single-valued material parameter to be updated
param Specifies the value that parameter GL_SHININESS will be set to

Throws: OpenGLException
General OpenGL Error
Implements:
material in interface GL


· glGetBooleanv

Summary  |  Top
   public final void glGetBooleanv(int pname, 
                                   boolean[] params)  throws OpenGLException

Return the value or values of a specified parameter

Parameter Description
pname A symbolic constant signifying which state variable to return
params The buffer to fill with the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetBooleanv in interface GL


· getBoolean

Summary  |  Top
   public final void getBoolean(int pname, 
                                boolean[] params)  throws OpenGLException

Return the value or values of a specified parameter

Parameter Description
pname A symbolic constant signifying which state variable to return
params The buffer to fill with the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getBoolean in interface GL


· glGetTexEnvfv

Summary  |  Top
   public final void glGetTexEnvfv(int target, 
                                   int pname, 
                                   float[] params)  throws OpenGLException

Return texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexEnvfv in interface GL


· getTexEnv

Summary  |  Top
   public final void getTexEnv(int target, 
                               int pname, 
                               float[] params)  throws OpenGLException

Return texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getTexEnv in interface GL


· glMateriali

Summary  |  Top
   public final void glMateriali(int face, 
                                 int pname, 
                                 int param)  throws OpenGLException

Specify material parameters for the lighting model

Parameter Description
face Specify which faces are being updated
pname Specifies the single-valued material parameter to be updated
param Specifies the value that parameter GL_SHININESS will be set to

Throws: OpenGLException
General OpenGL Error
Implements:
glMateriali in interface GL


· material

Summary  |  Top
   public final void material(int face, 
                              int pname, 
                              int param)  throws OpenGLException

Specify material parameters for the lighting model

Parameter Description
face Specify which faces are being updated
pname Specifies the single-valued material parameter to be updated
param Specifies the value that parameter GL_SHININESS will be set to

Throws: OpenGLException
General OpenGL Error
Implements:
material in interface GL


· glClearStencil

Summary  |  Top
   public final void glClearStencil(int s)  throws OpenGLException

Specify the clear value for the stencil buffer

Parameter Description
s The clearing value to set the stencil buffer to

Throws: OpenGLException
General OpenGL Error
Implements:
glClearStencil in interface GL


· clearStencil

Summary  |  Top
   public final void clearStencil(int s)  throws OpenGLException

Specify the clear value for the stencil buffer

Parameter Description
s The clearing value to set the stencil buffer to

Throws: OpenGLException
General OpenGL Error
Implements:
clearStencil in interface GL


· glMatrixMode

Summary  |  Top
   public final void glMatrixMode(int mode)  throws OpenGLException

Specify which matrix is the current matrix

Parameter Description
mode Specifies which matrix stack is the target for subsequent matrix operations

Throws: OpenGLException
General OpenGL Error
Implements:
glMatrixMode in interface GL


· matrixMode

Summary  |  Top
   public final void matrixMode(int mode)  throws OpenGLException

Specify which matrix is the current matrix

Parameter Description
mode Specifies which matrix stack is the target for subsequent matrix operations

Throws: OpenGLException
General OpenGL Error
Implements:
matrixMode in interface GL


· glColor3us

Summary  |  Top
   public final void glColor3us(short r, 
                                short g, 
                                short b)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3us in interface GL


· glColor4sv

Summary  |  Top
   public final void glColor4sv(short[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 4 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4sv in interface GL


· glTexCoord2d

Summary  |  Top
   public final void glTexCoord2d(double s, 
                                  double t)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord2d in interface GL


· glStencilFunc

Summary  |  Top
   public final void glStencilFunc(int func, 
                                   int ref, 
                                   int mask)  throws OpenGLException

Set function and reference value for stencil testing

Parameter Description
func Specifies the test function
ref The reference value for the stencil test
mask Specifies a mask that is ANDed with the reference value and the stored stencil value

Throws: OpenGLException
General OpenGL Error
Implements:
glStencilFunc in interface GL


· stencilFunc

Summary  |  Top
   public final void stencilFunc(int func, 
                                 int ref, 
                                 int mask)  throws OpenGLException

Set function and reference value for stencil testing

Parameter Description
func Specifies the test function
ref The reference value for the stencil test
mask Specifies a mask that is ANDed with the reference value and the stored stencil value

Throws: OpenGLException
General OpenGL Error
Implements:
stencilFunc in interface GL


· glTexCoord2f

Summary  |  Top
   public final void glTexCoord2f(float s, 
                                  float t)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord2f in interface GL


· glTexCoord2i

Summary  |  Top
   public final void glTexCoord2i(int s, 
                                  int t)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord2i in interface GL


· glLightModelfv

Summary  |  Top
   public final void glLightModelfv(int pname, 
                                    float[] params)  throws OpenGLException

Set the lighting model parameters

Parameter Description
pname The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
params The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glLightModelfv in interface GL


· lightModel

Summary  |  Top
   public final void lightModel(int pname, 
                                float[] params)  throws OpenGLException

Set the lighting model parameters

Parameter Description
pname The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
params The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
lightModel in interface GL


· glPushAttrib

Summary  |  Top
   public final void glPushAttrib(int mask)  throws OpenGLException

Push the attribute stack

Parameter Description
mask Specifies a mask which indicates which attributes to push

Throws: OpenGLException
General OpenGL Error
Implements:
glPushAttrib in interface GL


· pushAttrib

Summary  |  Top
   public final void pushAttrib(int mask)  throws OpenGLException

Push the attribute stack

Parameter Description
mask Specifies a mask which indicates which attributes to push

Throws: OpenGLException
General OpenGL Error
Implements:
pushAttrib in interface GL


· glClear

Summary  |  Top
   public final void glClear(int mask)  throws OpenGLException

Clear buffers to preset values

Parameter Description
mask Bitwise logical `or' of the buffers that should be cleared

Throws: OpenGLException
General OpenGL Error
Implements:
glClear in interface GL


· clear

Summary  |  Top
   public final void clear(int mask)  throws OpenGLException

Clear buffers to preset values

Parameter Description
mask Bitwise logical `or' of the buffers that should be cleared

Throws: OpenGLException
General OpenGL Error
Implements:
clear in interface GL


· glPolygonStipple

Summary  |  Top
   public final void glPolygonStipple(byte[] mask)  throws OpenGLException

Set the polygon stippling pattern

Parameter Description
mask Sets the polygon stipple

Throws: OpenGLException
General OpenGL Error
Implements:
glPolygonStipple in interface GL


· polygonStipple

Summary  |  Top
   public final void polygonStipple(byte[] mask)  throws OpenGLException

Set the polygon stippling pattern

Parameter Description
mask Sets the polygon stipple

Throws: OpenGLException
General OpenGL Error
Implements:
polygonStipple in interface GL


· glGetMaterialfv

Summary  |  Top
   public final void glGetMaterialfv(int face, 
                                     int pname, 
                                     float[] params)  throws OpenGLException

Return material parameters

Parameter Description
face Specifies which of the two materials are being queried
pname Specifies the material parameter to return
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetMaterialfv in interface GL


· getMaterial

Summary  |  Top
   public final void getMaterial(int face, 
                                 int pname, 
                                 float[] params)  throws OpenGLException

Return material parameters

Parameter Description
face Specifies which of the two materials are being queried
pname Specifies the material parameter to return
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getMaterial in interface GL


· glTexCoord2s

Summary  |  Top
   public final void glTexCoord2s(short s, 
                                  short t)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord2s in interface GL


· glLogicOp

Summary  |  Top
   public final void glLogicOp(int opcode)  throws OpenGLException

Specify a logical pixel operations for colour index rendering

Parameter Description
opcode The logical operation to be performed between an incoming fraagment and a pixel stored in the colour buffer. Legal values are GL_CLEAR, GL_COPY, GL_NOOP, GL_SET, GL_COPY_INVERTED, GL_INVERT, GL_AND_REVERSE, GL_OR_REVERSE, GL_AND, GL_OR, GL_NAND, GL_XORD, GL_EQUIV, GL_AND_INVERTED or GL_OR_INVERTED

Throws: OpenGLException
General OpenGL Error
Implements:
glLogicOp in interface GL


· logicOp

Summary  |  Top
   public final void logicOp(int opcode)  throws OpenGLException

Specify a logical pixel operations for colour index rendering

Parameter Description
opcode The logical operation to be performed between an incoming fraagment and a pixel stored in the colour buffer. Legal values are GL_CLEAR, GL_COPY, GL_NOOP, GL_SET, GL_COPY_INVERTED, GL_INVERT, GL_AND_REVERSE, GL_OR_REVERSE, GL_AND, GL_OR, GL_NAND, GL_XORD, GL_EQUIV, GL_AND_INVERTED or GL_OR_INVERTED

Throws: OpenGLException
General OpenGL Error
Implements:
logicOp in interface GL


· glColor4dv

Summary  |  Top
   public final void glColor4dv(double[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 4 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4dv in interface GL


· glColor3fv

Summary  |  Top
   public final void glColor3fv(float[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 3 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3fv in interface GL


· glCopyPixels

Summary  |  Top
   public final void glCopyPixels(int x, 
                                  int y, 
                                  int width, 
                                  int height, 
                                  int buffer)  throws OpenGLException

Copy pixels in the frame buffer

Parameter Description
x x-coord of the bottom-left of the framebuffer rectangle
y y-coord of the bottom-left of the framebuffer rectangle
width The width of the framebuffer rectangle to copy
height The height of the framebuffer rectangle to copy
buffer The framebuffer to use ( either GL_COLOR, GL_STENCIL or GL_DEPTH )

Throws: OpenGLException
General OpenGL Error
Implements:
glCopyPixels in interface GL


· copyPixels

Summary  |  Top
   public final void copyPixels(int x, 
                                int y, 
                                int width, 
                                int height, 
                                int buffer)  throws OpenGLException

Copy pixels in the frame buffer

Parameter Description
x x-coord of the bottom-left of the framebuffer rectangle
y y-coord of the bottom-left of the framebuffer rectangle
width The width of the framebuffer rectangle to copy
height The height of the framebuffer rectangle to copy
buffer The framebuffer to use ( either GL_COLOR, GL_STENCIL or GL_DEPTH )

Throws: OpenGLException
General OpenGL Error
Implements:
copyPixels in interface GL


· glColor3usv

Summary  |  Top
   public final void glColor3usv(short[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 3 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3usv in interface GL


· glPopClientAttrib

Summary  |  Top
   public final void glPopClientAttrib()  throws OpenGLException

This pushes the given attribute onto the client attribute stack

Throws: OpenGLException
General OpenGL Error
Implements:
glPopClientAttrib in interface GL


· popClientAttrib

Summary  |  Top
   public final void popClientAttrib()  throws OpenGLException

This pushes the given attribute onto the client attribute stack

Throws: OpenGLException
General OpenGL Error
Implements:
popClientAttrib in interface GL


· glDisableClientState

Summary  |  Top
   public final void glDisableClientState(int array)  throws OpenGLException

Disable client-side capabiltity

Parameter Description
array Specifies the capability to disable

Throws: OpenGLException
General OpenGL Error
Implements:
glDisableClientState in interface GL


· disableClientState

Summary  |  Top
   public final void disableClientState(int array)  throws OpenGLException

Disable client-side capabiltity

Parameter Description
array Specifies the capability to disable

Throws: OpenGLException
General OpenGL Error
Implements:
disableClientState in interface GL


· glPushMatrix

Summary  |  Top
   public final void glPushMatrix()  throws OpenGLException

Push the current matrix stack

Throws: OpenGLException
General OpenGL Error
Implements:
glPushMatrix in interface GL


· pushMatrix

Summary  |  Top
   public final void pushMatrix()  throws OpenGLException

Push the current matrix stack

Throws: OpenGLException
General OpenGL Error
Implements:
pushMatrix in interface GL


· glRasterPos4iv

Summary  |  Top
   public final void glRasterPos4iv(int[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos4iv in interface GL


· glEnd

Summary  |  Top
   public final void glEnd()  throws OpenGLException

Marks the end of a vertex-data list

Throws: OpenGLException
General OpenGL Error
Implements:
glEnd in interface GL


· end

Summary  |  Top
   public final void end()  throws OpenGLException

Marks the end of a vertex-data list

Throws: OpenGLException
General OpenGL Error
Implements:
end in interface GL


· glLoadMatrixd

Summary  |  Top
   public final void glLoadMatrixd(double[] m)  throws OpenGLException

Replace the current matrix with an arbitrary matrix

Parameter Description
m Sixteen values that comprise a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
glLoadMatrixd in interface GL


· loadMatrix

Summary  |  Top
   public final void loadMatrix(double[] m)  throws OpenGLException

Replace the current matrix with an arbitrary matrix

Parameter Description
m Sixteen values that comprise a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
loadMatrix in interface GL


· glLoadMatrixf

Summary  |  Top
   public final void glLoadMatrixf(float[] m)  throws OpenGLException

Replace the current matrix with an arbitrary matrix

Parameter Description
m Sixteen values that comprise a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
glLoadMatrixf in interface GL


· loadMatrix

Summary  |  Top
   public final void loadMatrix(float[] m)  throws OpenGLException

Replace the current matrix with an arbitrary matrix

Parameter Description
m Sixteen values that comprise a 4x4 matrix

Throws: OpenGLException
General OpenGL Error
Implements:
loadMatrix in interface GL


· glGetPixelMapfv

Summary  |  Top
   public final void glGetPixelMapfv(int map, 
                                     float[] values)  throws OpenGLException

Return the specified pixel map

Parameter Description
map Specifies the name of the pixel map to return
values Returns the pixel map contents

Throws: OpenGLException
General OpenGL Error
Implements:
glGetPixelMapfv in interface GL


· getPixelMap

Summary  |  Top
   public final void getPixelMap(int map, 
                                 float[] values)  throws OpenGLException

Return the specified pixel map

Parameter Description
map Specifies the name of the pixel map to return
values Returns the pixel map contents

Throws: OpenGLException
General OpenGL Error
Implements:
getPixelMap in interface GL


· glBitmap

Summary  |  Top
   public final void glBitmap(int width, 
                              int height, 
                              float xbo, 
                              float ybo, 
                              float xbi, 
                              float ybi, 
                              byte[] bitmap)  throws OpenGLException

Draw a bitmap

Parameter Description
width The width of the bitmap
height The height of the bitmap
xbo X offset from the origin
ybo Y offset from the origin
xbi X increment added to the raster position after bitmap is rasterized
ybi Y increment added to the raster position after the bitmap is rasterized
bitmap The bitmap data

Throws: OpenGLException
General OpenGL Error
Implements:
glBitmap in interface GL


· bitmap

Summary  |  Top
   public final void bitmap(int width, 
                            int height, 
                            float xbo, 
                            float ybo, 
                            float xbi, 
                            float ybi, 
                            byte[] bitmap)  throws OpenGLException

Draw a bitmap

Parameter Description
width The width of the bitmap
height The height of the bitmap
xbo X offset from the origin
ybo Y offset from the origin
xbi X increment added to the raster position after bitmap is rasterized
ybi Y increment added to the raster position after the bitmap is rasterized
bitmap The bitmap data

Throws: OpenGLException
General OpenGL Error
Implements:
bitmap in interface GL


· glTexCoord3d

Summary  |  Top
   public final void glTexCoord3d(double s, 
                                  double t, 
                                  double r)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord3d in interface GL


· glTexCoord3f

Summary  |  Top
   public final void glTexCoord3f(float s, 
                                  float t, 
                                  float r)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord3f in interface GL


· glIndexsv

Summary  |  Top
   public final void glIndexsv(short[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexsv in interface GL


· index

Summary  |  Top
   public final void index(short[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glDepthMask

Summary  |  Top
   public final void glDepthMask(boolean flag)  throws OpenGLException

Enable or disable writing into the depth buffer

Parameter Description
flag If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws: OpenGLException
General OpenGL Error
Implements:
glDepthMask in interface GL


· depthMask

Summary  |  Top
   public final void depthMask(boolean flag)  throws OpenGLException

Enable or disable writing into the depth buffer

Parameter Description
flag If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws: OpenGLException
General OpenGL Error
Implements:
depthMask in interface GL


· glDepthMask

Summary  |  Top
   public final void glDepthMask(byte flag)  throws OpenGLException

Enable or disable writing into the depth buffer

Parameter Description
flag If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws: OpenGLException
General OpenGL Error
Implements:
glDepthMask in interface GL


· depthMask

Summary  |  Top
   public final void depthMask(byte flag)  throws OpenGLException

Enable or disable writing into the depth buffer

Parameter Description
flag If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws: OpenGLException
General OpenGL Error
Implements:
depthMask in interface GL


· glDepthMask

Summary  |  Top
   public final void glDepthMask(int flag)  throws OpenGLException

Enable or disable writing into the depth buffer

Parameter Description
flag If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws: OpenGLException
General OpenGL Error
Implements:
glDepthMask in interface GL


· depthMask

Summary  |  Top
   public final void depthMask(int flag)  throws OpenGLException

Enable or disable writing into the depth buffer

Parameter Description
flag If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws: OpenGLException
General OpenGL Error
Implements:
depthMask in interface GL


· glTexCoord3i

Summary  |  Top
   public final void glTexCoord3i(int s, 
                                  int t, 
                                  int r)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord3i in interface GL


· glPushClientAttrib

Summary  |  Top
   public final void glPushClientAttrib(int mask)  throws OpenGLException

This pushes the desired attributes onto the client attribute stack

Parameter Description
mask Specifies a mask which indicates which attributes to push onto the client stack

Throws: OpenGLException
General OpenGL Error
Implements:
glPushClientAttrib in interface GL


· pushClientAttrib

Summary  |  Top
   public final void pushClientAttrib(int mask)  throws OpenGLException

This pushes the desired attributes onto the client attribute stack

Parameter Description
mask Specifies a mask which indicates which attributes to push onto the client stack

Throws: OpenGLException
General OpenGL Error
Implements:
pushClientAttrib in interface GL


· glEvalMesh1

Summary  |  Top
   public final void glEvalMesh1(int mode, 
                                 int p1, 
                                 int p2)  throws OpenGLException

Compute a one-dimensional grid of points

Parameter Description
mode The drawing style of the curve either GL_POINT or GL_LINE
p1 The starting value of the curve range
p2 The finishing value of the curve range

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalMesh1 in interface GL


· evalMesh

Summary  |  Top
   public final void evalMesh(int mode, 
                              int p1, 
                              int p2)  throws OpenGLException

Compute a one-dimensional grid of points

Parameter Description
mode The drawing style of the curve either GL_POINT or GL_LINE
p1 The starting value of the curve range
p2 The finishing value of the curve range

Throws: OpenGLException
General OpenGL Error
Implements:
evalMesh in interface GL


· glEvalMesh2

Summary  |  Top
   public final void glEvalMesh2(int mode, 
                                 int i1, 
                                 int i2, 
                                 int j1, 
                                 int j2)  throws OpenGLException

Compute a two-dimensional grid of points

Parameter Description
mode The draw style of the mesh. Either GL_FILL, GL_POINT or GL_LINE
i1 The starting value for the x-dimension range
i2 The finishing value of the x-dimension range
j1 The starting value for the y-dimension range
j2 The finishing value for the y-dimension range

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalMesh2 in interface GL


· evalMesh

Summary  |  Top
   public final void evalMesh(int mode, 
                              int i1, 
                              int i2, 
                              int j1, 
                              int j2)  throws OpenGLException

Compute a two-dimensional grid of points

Parameter Description
mode The draw style of the mesh. Either GL_FILL, GL_POINT or GL_LINE
i1 The starting value for the x-dimension range
i2 The finishing value of the x-dimension range
j1 The starting value for the y-dimension range
j2 The finishing value for the y-dimension range

Throws: OpenGLException
General OpenGL Error
Implements:
evalMesh in interface GL


· glRectfv

Summary  |  Top
   public final void glRectfv(float[] v1, 
                              float[] v2)  throws OpenGLException

Draw a rectangle

Parameter Description
v1 Buffer containing two coordinates for the first corner of the rectangle
v2 Buffer containing two coordinates for the second corner of the rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
glRectfv in interface GL


· rect

Summary  |  Top
   public final void rect(float[] v1, 
                          float[] v2)  throws OpenGLException

Draw a rectangle

Parameter Description
v1 Buffer containing two coordinates for the first corner of the rectangle
v2 Buffer containing two coordinates for the second corner of the rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
rect in interface GL


· glColor4ub

Summary  |  Top
   public final void glColor4ub(byte r, 
                                byte g, 
                                byte b, 
                                byte a)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4ub in interface GL


· glEvalCoord2dv

Summary  |  Top
   public final void glEvalCoord2dv(double[] values)  throws OpenGLException

Evaluate enabled one- and two-dimensional maps

Parameter Description
values Pointer to an array of domain coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalCoord2dv in interface GL


· glEvalCoord1fv

Summary  |  Top
   public final void glEvalCoord1fv(float[] u)  throws OpenGLException

Evaluate enabled one- and two-dimensional maps

Parameter Description
u Pointer to the domain coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalCoord1fv in interface GL


· glTexCoord3s

Summary  |  Top
   public final void glTexCoord3s(short s, 
                                  short t, 
                                  short r)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord3s in interface GL


· glColorMaterial

Summary  |  Top
   public final void glColorMaterial(int face, 
                                     int mode)  throws OpenGLException

Cause a material colour to track the current colour

Parameter Description
face The material face to be tracked
mode The material mode to be tracked

Throws: OpenGLException
General OpenGL Error
Implements:
glColorMaterial in interface GL


· colorMaterial

Summary  |  Top
   public final void colorMaterial(int face, 
                                   int mode)  throws OpenGLException

Cause a material colour to track the current colour

Parameter Description
face The material face to be tracked
mode The material mode to be tracked

Throws: OpenGLException
General OpenGL Error
Implements:
colorMaterial in interface GL


· glColor4ui

Summary  |  Top
   public final void glColor4ui(int r, 
                                int g, 
                                int b, 
                                int a)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4ui in interface GL


· glGetDoublev

Summary  |  Top
   public final void glGetDoublev(int pname, 
                                  double[] params)  throws OpenGLException

Return the value or values of a specified parameter

Parameter Description
pname A symbolic constant signifying which state variable to return
params The buffer to fill with the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetDoublev in interface GL


· getDouble

Summary  |  Top
   public final void getDouble(int pname, 
                               double[] params)  throws OpenGLException

Return the value or values of a specified parameter

Parameter Description
pname A symbolic constant signifying which state variable to return
params The buffer to fill with the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getDouble in interface GL


· glIndexdv

Summary  |  Top
   public final void glIndexdv(double[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexdv in interface GL


· index

Summary  |  Top
   public final void index(double[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glColor3b

Summary  |  Top
   public final void glColor3b(byte r, 
                               byte g, 
                               byte b)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3b in interface GL


· glColor3d

Summary  |  Top
   public final void glColor3d(double r, 
                               double g, 
                               double b)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3d in interface GL


· glGetLightiv

Summary  |  Top
   public final void glGetLightiv(int light, 
                                  int pname, 
                                  int[] params)  throws OpenGLException

Return light source parameter values

Parameter Description
light Specifies a light source
pname Specifies a light source parameter for `light'
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetLightiv in interface GL


· getLight

Summary  |  Top
   public final void getLight(int light, 
                              int pname, 
                              int[] params)  throws OpenGLException

Return light source parameter values

Parameter Description
light Specifies a light source
pname Specifies a light source parameter for `light'
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getLight in interface GL


· glColor3f

Summary  |  Top
   public final void glColor3f(float r, 
                               float g, 
                               float b)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3f in interface GL


· glColor3i

Summary  |  Top
   public final void glColor3i(int r, 
                               int g, 
                               int b)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3i in interface GL


· glColor4us

Summary  |  Top
   public final void glColor4us(short r, 
                                short g, 
                                short b, 
                                short a)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4us in interface GL


· glFogiv

Summary  |  Top
   public final void glFogiv(int pname, 
                             int[] params)  throws OpenGLException

Specify fog parameters

Parameter Description
pname The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
params The values of the given parameter in `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
glFogiv in interface GL


· fog

Summary  |  Top
   public final void fog(int pname, 
                         int[] params)  throws OpenGLException

Specify fog parameters

Parameter Description
pname The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
params The values of the given parameter in `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
fog in interface GL


· glStencilMask

Summary  |  Top
   public final void glStencilMask(int mask)  throws OpenGLException

Control the writing of individual bits in the stencil planes

Parameter Description
mask A bit mask used to control writing of specific bits into the stencil buffer

Throws: OpenGLException
General OpenGL Error
Implements:
glStencilMask in interface GL


· stencilMask

Summary  |  Top
   public final void stencilMask(int mask)  throws OpenGLException

Control the writing of individual bits in the stencil planes

Parameter Description
mask A bit mask used to control writing of specific bits into the stencil buffer

Throws: OpenGLException
General OpenGL Error
Implements:
stencilMask in interface GL


· glTexCoord4d

Summary  |  Top
   public final void glTexCoord4d(double s, 
                                  double t, 
                                  double r, 
                                  double q)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate
q The q texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord4d in interface GL


· glColor4ubv

Summary  |  Top
   public final void glColor4ubv(byte[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 4 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4ubv in interface GL


· glTexCoord4f

Summary  |  Top
   public final void glTexCoord4f(float s, 
                                  float t, 
                                  float r, 
                                  float q)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate
q The q texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord4f in interface GL


· glTexCoord1sv

Summary  |  Top
   public final void glTexCoord1sv(short[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord1sv in interface GL


· glTexCoord4i

Summary  |  Top
   public final void glTexCoord4i(int s, 
                                  int t, 
                                  int r, 
                                  int q)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate
q The q texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord4i in interface GL


· glColor3s

Summary  |  Top
   public final void glColor3s(short r, 
                               short g, 
                               short b)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3s in interface GL


· glClearColor

Summary  |  Top
   public final void glClearColor(float red, 
                                  float green, 
                                  float blue, 
                                  float alpha)  throws OpenGLException

Specify clear values for colour buffers

Parameter Description
red The red component of the clear value
green The green component of the clear value
blue The blue component of the clear value
alpha The alpha component of the clear value

Throws: OpenGLException
General OpenGL Error
Implements:
glClearColor in interface GL


· clearColor

Summary  |  Top
   public final void clearColor(float red, 
                                float green, 
                                float blue, 
                                float alpha)  throws OpenGLException

Specify clear values for colour buffers

Parameter Description
red The red component of the clear value
green The green component of the clear value
blue The blue component of the clear value
alpha The alpha component of the clear value

Throws: OpenGLException
General OpenGL Error
Implements:
clearColor in interface GL


· glPixelZoom

Summary  |  Top
   public final void glPixelZoom(float xfactor, 
                                 float yfactor)  throws OpenGLException

Specify the pixel zoom factors

Parameter Description
xfactor The x zoom factor
yfactor The y zoom factor

Throws: OpenGLException
General OpenGL Error
Implements:
glPixelZoom in interface GL


· pixelZoom

Summary  |  Top
   public final void pixelZoom(float xfactor, 
                               float yfactor)  throws OpenGLException

Specify the pixel zoom factors

Parameter Description
xfactor The x zoom factor
yfactor The y zoom factor

Throws: OpenGLException
General OpenGL Error
Implements:
pixelZoom in interface GL


· glGetFloatv

Summary  |  Top
   public final void glGetFloatv(int pname, 
                                 float[] params)  throws OpenGLException

Return the value or values of a specified parameter

Parameter Description
pname A symbolic constant signifying which state variable to return
params The buffer to fill with the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetFloatv in interface GL


· getFloat

Summary  |  Top
   public final void getFloat(int pname, 
                              float[] params)  throws OpenGLException

Return the value or values of a specified parameter

Parameter Description
pname A symbolic constant signifying which state variable to return
params The buffer to fill with the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getFloat in interface GL


· glTexCoord4s

Summary  |  Top
   public final void glTexCoord4s(short s, 
                                  short t, 
                                  short r, 
                                  short q)  throws OpenGLException

Set the current texture coordinates

Parameter Description
s The s texture coordinate
t The t texture coordinate
r The r texture coordinate
q The q texture coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord4s in interface GL


· glColor4fv

Summary  |  Top
   public final void glColor4fv(float[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 4 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4fv in interface GL


· glIndexub

Summary  |  Top
   public final void glIndexub(byte c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexub in interface GL


· index

Summary  |  Top
   public final void index(byte c)  throws OpenGLException

Set the current colour index

Parameter Description
c The colour index value

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glTexCoord1dv

Summary  |  Top
   public final void glTexCoord1dv(double[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord1dv in interface GL


· glColor4b

Summary  |  Top
   public final void glColor4b(byte r, 
                               byte g, 
                               byte b, 
                               byte a)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4b in interface GL


· glColor4d

Summary  |  Top
   public final void glColor4d(double r, 
                               double g, 
                               double b, 
                               double a)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4d in interface GL


· glFrontFace

Summary  |  Top
   public final void glFrontFace(int mode)  throws OpenGLException

Define front- and back-facing polygons

Parameter Description
mode The mode to determine front-facing polygons. The default is GL_CCW, ie, counter-clockwise

Throws: OpenGLException
General OpenGL Error
Implements:
glFrontFace in interface GL


· frontFace

Summary  |  Top
   public final void frontFace(int mode)  throws OpenGLException

Define front- and back-facing polygons

Parameter Description
mode The mode to determine front-facing polygons. The default is GL_CCW, ie, counter-clockwise

Throws: OpenGLException
General OpenGL Error
Implements:
frontFace in interface GL


· glColor4f

Summary  |  Top
   public final void glColor4f(float r, 
                               float g, 
                               float b, 
                               float a)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4f in interface GL


· glGetTexEnviv

Summary  |  Top
   public final void glGetTexEnviv(int target, 
                                   int pname, 
                                   int[] params)  throws OpenGLException

Return texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexEnviv in interface GL


· getTexEnv

Summary  |  Top
   public final void getTexEnv(int target, 
                               int pname, 
                               int[] params)  throws OpenGLException

Return texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getTexEnv in interface GL


· glColor4i

Summary  |  Top
   public final void glColor4i(int r, 
                               int g, 
                               int b, 
                               int a)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4i in interface GL


· glLoadName

Summary  |  Top
   public final void glLoadName(int name)  throws OpenGLException

Load a name onto the name stack

Parameter Description
name The name to load onto the name stack

Throws: OpenGLException
General OpenGL Error
Implements:
glLoadName in interface GL


· loadName

Summary  |  Top
   public final void loadName(int name)  throws OpenGLException

Load a name onto the name stack

Parameter Description
name The name to load onto the name stack

Throws: OpenGLException
General OpenGL Error
Implements:
loadName in interface GL


· glBegin

Summary  |  Top
   public final void glBegin(int mode)  throws OpenGLException

Delimit the vertices of a primitive of a group of like primitives

Parameter Description
mode The type of primitive to begin defining

Throws: OpenGLException
General OpenGL Error
Implements:
glBegin in interface GL


· begin

Summary  |  Top
   public final void begin(int mode)  throws OpenGLException

Delimit the vertices of a primitive of a group of like primitives

Parameter Description
mode The type of primitive to begin defining

Throws: OpenGLException
General OpenGL Error
Implements:
begin in interface GL


· glColor4s

Summary  |  Top
   public final void glColor4s(short r, 
                               short g, 
                               short b, 
                               short a)  throws OpenGLException

Sets the current colour

Parameter Description
r The red component of the colour
g The green component of the colour
b The blue component of the colour
a The alpha component of the colour

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4s in interface GL


· glLightModeliv

Summary  |  Top
   public final void glLightModeliv(int pname, 
                                    int[] params)  throws OpenGLException

Set the lighting model parameters

Parameter Description
pname The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
params The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glLightModeliv in interface GL


· lightModel

Summary  |  Top
   public final void lightModel(int pname, 
                                int[] params)  throws OpenGLException

Set the lighting model parameters

Parameter Description
pname The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
params The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
lightModel in interface GL


· glEvalCoord2fv

Summary  |  Top
   public final void glEvalCoord2fv(float[] values)  throws OpenGLException

Evaluate enabled one- and two-dimensional maps

Parameter Description
values Pointer to an array of domain coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalCoord2fv in interface GL


· glGetMaterialiv

Summary  |  Top
   public final void glGetMaterialiv(int face, 
                                     int pname, 
                                     int[] params)  throws OpenGLException

Return material parameters

Parameter Description
face Specifies which of the two materials are being queried
pname Specifies the material parameter to return
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetMaterialiv in interface GL


· getMaterial

Summary  |  Top
   public final void getMaterial(int face, 
                                 int pname, 
                                 int[] params)  throws OpenGLException

Return material parameters

Parameter Description
face Specifies which of the two materials are being queried
pname Specifies the material parameter to return
params Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getMaterial in interface GL


· glEdgeFlag

Summary  |  Top
   public final void glEdgeFlag(boolean flag)  throws OpenGLException

Flag edges as either boundary or nonboundary

Parameter Description
flag If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws: OpenGLException
General OpenGL Error
Implements:
glEdgeFlag in interface GL


· edgeFlag

Summary  |  Top
   public final void edgeFlag(boolean flag)  throws OpenGLException

Flag edges as either boundary or nonboundary

Parameter Description
flag If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws: OpenGLException
General OpenGL Error
Implements:
edgeFlag in interface GL


· glEdgeFlag

Summary  |  Top
   public final void glEdgeFlag(byte flag)  throws OpenGLException

Flag edges as either boundary or nonboundary

Parameter Description
flag If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws: OpenGLException
General OpenGL Error
Implements:
glEdgeFlag in interface GL


· edgeFlag

Summary  |  Top
   public final void edgeFlag(byte flag)  throws OpenGLException

Flag edges as either boundary or nonboundary

Parameter Description
flag If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws: OpenGLException
General OpenGL Error
Implements:
edgeFlag in interface GL


· glEdgeFlag

Summary  |  Top
   public final void glEdgeFlag(int flag)  throws OpenGLException

Flag edges as either boundary or nonboundary

Parameter Description
flag If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws: OpenGLException
General OpenGL Error
Implements:
glEdgeFlag in interface GL


· edgeFlag

Summary  |  Top
   public final void edgeFlag(int flag)  throws OpenGLException

Flag edges as either boundary or nonboundary

Parameter Description
flag If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws: OpenGLException
General OpenGL Error
Implements:
edgeFlag in interface GL


· glColor4usv

Summary  |  Top
   public final void glColor4usv(short[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 4 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4usv in interface GL


· glColor3iv

Summary  |  Top
   public final void glColor3iv(int[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 3 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3iv in interface GL


· glTranslated

Summary  |  Top
   public final void glTranslated(double x, 
                                  double y, 
                                  double z)  throws OpenGLException

Multiply the current matrix by a translation matrix

Parameter Description
x The x component of a translation vector
y The y component of a translation vector
z The z component of a translation vector

Throws: OpenGLException
General OpenGL Error
Implements:
glTranslated in interface GL


· translate

Summary  |  Top
   public final void translate(double x, 
                               double y, 
                               double z)  throws OpenGLException

Multiply the current matrix by a translation matrix

Parameter Description
x The x component of a translation vector
y The y component of a translation vector
z The z component of a translation vector

Throws: OpenGLException
General OpenGL Error
Implements:
translate in interface GL


· glTranslatef

Summary  |  Top
   public final void glTranslatef(float x, 
                                  float y, 
                                  float z)  throws OpenGLException

Multiply the current matrix by a translation matrix

Parameter Description
x The x component of a translation vector
y The y component of a translation vector
z The z component of a translation vector

Throws: OpenGLException
General OpenGL Error
Implements:
glTranslatef in interface GL


· translate

Summary  |  Top
   public final void translate(float x, 
                               float y, 
                               float z)  throws OpenGLException

Multiply the current matrix by a translation matrix

Parameter Description
x The x component of a translation vector
y The y component of a translation vector
z The z component of a translation vector

Throws: OpenGLException
General OpenGL Error
Implements:
translate in interface GL


· glIndexfv

Summary  |  Top
   public final void glIndexfv(float[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexfv in interface GL


· index

Summary  |  Top
   public final void index(float[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glNormal3bv

Summary  |  Top
   public final void glNormal3bv(byte[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3bv in interface GL


· normal

Summary  |  Top
   public final void normal(byte[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glClipPlane

Summary  |  Top
   public final void glClipPlane(int plane, 
                                 double[] equation)  throws OpenGLException

Specify a plane against which all geometry is clipped

Parameter Description
plane Specifies the clipping plane to define
equation The four co-efficients of the plane equation used as a clipping plane

Throws: OpenGLException
General OpenGL Error
Implements:
glClipPlane in interface GL


· clipPlane

Summary  |  Top
   public final void clipPlane(int plane, 
                               double[] equation)  throws OpenGLException

Specify a plane against which all geometry is clipped

Parameter Description
plane Specifies the clipping plane to define
equation The four co-efficients of the plane equation used as a clipping plane

Throws: OpenGLException
General OpenGL Error
Implements:
clipPlane in interface GL


· glTexEnvf

Summary  |  Top
   public final void glTexEnvf(int target, 
                               int pname, 
                               float param)  throws OpenGLException

Set texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
param Specifies symbolic constants

Throws: OpenGLException
General OpenGL Error
Implements:
glTexEnvf in interface GL


· texEnv

Summary  |  Top
   public final void texEnv(int target, 
                            int pname, 
                            float param)  throws OpenGLException

Set texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
param Specifies symbolic constants

Throws: OpenGLException
General OpenGL Error
Implements:
texEnv in interface GL


· glTexEnvi

Summary  |  Top
   public final void glTexEnvi(int target, 
                               int pname, 
                               int param)  throws OpenGLException

Set texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
param Specifies symbolic constants

Throws: OpenGLException
General OpenGL Error
Implements:
glTexEnvi in interface GL


· texEnv

Summary  |  Top
   public final void texEnv(int target, 
                            int pname, 
                            int param)  throws OpenGLException

Set texture environment parameters

Parameter Description
target Specifies a texture environment
pname Specifies the symbolic name of a texture environment parameter
param Specifies symbolic constants

Throws: OpenGLException
General OpenGL Error
Implements:
texEnv in interface GL


· glTexCoord2sv

Summary  |  Top
   public final void glTexCoord2sv(short[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord2sv in interface GL


· glNewList

Summary  |  Top
   public final void glNewList(int list, 
                               int mode)  throws OpenGLException

Create or replace a display list

Parameter Description
list The display list name
mode Specifies the compilation mode

Throws: OpenGLException
General OpenGL Error
Implements:
glNewList in interface GL


· newList

Summary  |  Top
   public final void newList(int list, 
                             int mode)  throws OpenGLException

Create or replace a display list

Parameter Description
list The display list name
mode Specifies the compilation mode

Throws: OpenGLException
General OpenGL Error
Implements:
newList in interface GL


· glPixelTransferf

Summary  |  Top
   public final void glPixelTransferf(int pname, 
                                      float param)  throws OpenGLException

Set pixel transfer modes

Parameter Description
pname The symbolic name of the parameter to be set
param The value that `pname' is to be set to

Throws: OpenGLException
General OpenGL Error
Implements:
glPixelTransferf in interface GL


· pixelTransfer

Summary  |  Top
   public final void pixelTransfer(int pname, 
                                   float param)  throws OpenGLException

Set pixel transfer modes

Parameter Description
pname The symbolic name of the parameter to be set
param The value that `pname' is to be set to

Throws: OpenGLException
General OpenGL Error
Implements:
pixelTransfer in interface GL


· glRectiv

Summary  |  Top
   public final void glRectiv(int[] v1, 
                              int[] v2)  throws OpenGLException

Draw a rectangle

Parameter Description
v1 Buffer containing two coordinates for the first corner of the rectangle
v2 Buffer containing two coordinates for the second corner of the rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
glRectiv in interface GL


· rect

Summary  |  Top
   public final void rect(int[] v1, 
                          int[] v2)  throws OpenGLException

Draw a rectangle

Parameter Description
v1 Buffer containing two coordinates for the first corner of the rectangle
v2 Buffer containing two coordinates for the second corner of the rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
rect in interface GL


· glPixelTransferi

Summary  |  Top
   public final void glPixelTransferi(int pname, 
                                      int param)  throws OpenGLException

Set pixel transfer modes

Parameter Description
pname The symbolic name of the parameter to be set
param The value that `pname' is to be set to

Throws: OpenGLException
General OpenGL Error
Implements:
glPixelTransferi in interface GL


· pixelTransfer

Summary  |  Top
   public final void pixelTransfer(int pname, 
                                   int param)  throws OpenGLException

Set pixel transfer modes

Parameter Description
pname The symbolic name of the parameter to be set
param The value that `pname' is to be set to

Throws: OpenGLException
General OpenGL Error
Implements:
pixelTransfer in interface GL


· glStencilOp

Summary  |  Top
   public final void glStencilOp(int fail, 
                                 int zfail, 
                                 int zpass)  throws OpenGLException

Set stencil test actions

Parameter Description
fail Specifies an action to take when the stencil test fails
zfail Specifies an action when the stencil test passes but the depth test fails
zpass Specifies an action to take when both the stencil and depth tests pass

Throws: OpenGLException
General OpenGL Error
Implements:
glStencilOp in interface GL


· stencilOp

Summary  |  Top
   public final void stencilOp(int fail, 
                               int zfail, 
                               int zpass)  throws OpenGLException

Set stencil test actions

Parameter Description
fail Specifies an action to take when the stencil test fails
zfail Specifies an action when the stencil test passes but the depth test fails
zpass Specifies an action to take when both the stencil and depth tests pass

Throws: OpenGLException
General OpenGL Error
Implements:
stencilOp in interface GL


· glTexCoord2dv

Summary  |  Top
   public final void glTexCoord2dv(double[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord2dv in interface GL


· glEvalCoord1d

Summary  |  Top
   public final void glEvalCoord1d(double u)  throws OpenGLException

Evaluate enabled one- and two-dimensional maps

Parameter Description
u The domain coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalCoord1d in interface GL


· glGetPixelMapuiv

Summary  |  Top
   public final void glGetPixelMapuiv(int map, 
                                      int[] values)  throws OpenGLException

Return the specified pixel map

Parameter Description
map Specifies the name of the pixel map to return
values Returns the pixel map contents

Throws: OpenGLException
General OpenGL Error
Implements:
glGetPixelMapuiv in interface GL


· getPixelMap

Summary  |  Top
   public final void getPixelMap(int map, 
                                 int[] values)  throws OpenGLException

Return the specified pixel map

Parameter Description
map Specifies the name of the pixel map to return
values Returns the pixel map contents

Throws: OpenGLException
General OpenGL Error
Implements:
getPixelMap in interface GL


· glTexCoord1fv

Summary  |  Top
   public final void glTexCoord1fv(float[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord1fv in interface GL


· glShadeModel

Summary  |  Top
   public final void glShadeModel(int mode)  throws OpenGLException

Select flat or smooth shading

Parameter Description
mode The symbolic value representing a shading technique

Throws: OpenGLException
General OpenGL Error
Implements:
glShadeModel in interface GL


· shadeModel

Summary  |  Top
   public final void shadeModel(int mode)  throws OpenGLException

Select flat or smooth shading

Parameter Description
mode The symbolic value representing a shading technique

Throws: OpenGLException
General OpenGL Error
Implements:
shadeModel in interface GL


· glEvalCoord1f

Summary  |  Top
   public final void glEvalCoord1f(float u)  throws OpenGLException

Evaluate enabled one- and two-dimensional maps

Parameter Description
u The domain coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalCoord1f in interface GL


· glVertex2sv

Summary  |  Top
   public final void glVertex2sv(short[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex2sv in interface GL


· glClearDepth

Summary  |  Top
   public final void glClearDepth(double depth)  throws OpenGLException

Specify the clear value for the depth buffer

Parameter Description
depth The value to which the depth buffer is cleared to

Throws: OpenGLException
General OpenGL Error
Implements:
glClearDepth in interface GL


· clearDepth

Summary  |  Top
   public final void clearDepth(double depth)  throws OpenGLException

Specify the clear value for the depth buffer

Parameter Description
depth The value to which the depth buffer is cleared to

Throws: OpenGLException
General OpenGL Error
Implements:
clearDepth in interface GL


· glLightf

Summary  |  Top
   public final void glLightf(int light, 
                              int pname, 
                              float param)  throws OpenGLException

Set light source parameters

Parameter Description
light The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glLightf in interface GL


· light

Summary  |  Top
   public final void light(int light, 
                           int pname, 
                           float param)  throws OpenGLException

Set light source parameters

Parameter Description
light The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
light in interface GL


· glLighti

Summary  |  Top
   public final void glLighti(int light, 
                              int pname, 
                              int param)  throws OpenGLException

Set light source parameters

Parameter Description
light The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glLighti in interface GL


· light

Summary  |  Top
   public final void light(int light, 
                           int pname, 
                           int param)  throws OpenGLException

Set light source parameters

Parameter Description
light The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param The value of the chosen parameter

Throws: OpenGLException
General OpenGL Error
Implements:
light in interface GL


· glIndexMask

Summary  |  Top
   public final void glIndexMask(int mask)  throws OpenGLException

Control the writing of individual bits in the colour index buffers

Parameter Description
mask The control mask for the colour index buffer

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexMask in interface GL


· indexMask

Summary  |  Top
   public final void indexMask(int mask)  throws OpenGLException

Control the writing of individual bits in the colour index buffers

Parameter Description
mask The control mask for the colour index buffer

Throws: OpenGLException
General OpenGL Error
Implements:
indexMask in interface GL


· glTexGendv

Summary  |  Top
   public final void glTexGendv(int coord, 
                                int pname, 
                                double[] param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glTexGendv in interface GL


· texGen

Summary  |  Top
   public final void texGen(int coord, 
                            int pname, 
                            double[] param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
texGen in interface GL


· glNormal3sv

Summary  |  Top
   public final void glNormal3sv(short[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3sv in interface GL


· normal

Summary  |  Top
   public final void normal(short[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glGetPolygonStipple

Summary  |  Top
   public final void glGetPolygonStipple(byte[] mask)  throws OpenGLException

Return the polygon stipple pattern

Parameter Description
mask Returns the stipple pattern

Throws: OpenGLException
General OpenGL Error
Implements:
glGetPolygonStipple in interface GL


· getPolygonStipple

Summary  |  Top
   public final void getPolygonStipple(byte[] mask)  throws OpenGLException

Return the polygon stipple pattern

Parameter Description
mask Returns the stipple pattern

Throws: OpenGLException
General OpenGL Error
Implements:
getPolygonStipple in interface GL


· glVertex2dv

Summary  |  Top
   public final void glVertex2dv(double[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex2dv in interface GL


· glCopyTexSubImage1D

Summary  |  Top
   public final void glCopyTexSubImage1D(int target, 
                                         int level, 
                                         int xoffset, 
                                         int x, 
                                         int y, 
                                         int width)  throws OpenGLException

Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing one-dimensional texture image

Parameter Description
target The constant GL_TEXTURE_1D
level The mipmap level-of-detail
xoffset The texel offset of where to put the subimage within the existing texture array
x The x-coord of the pixel rectangle
y The y-coord of the pixel rectangle
width The number of pixels to copy

Throws: OpenGLException
General OpenGL Error
Implements:
glCopyTexSubImage1D in interface GL


· copyTexSubImage1D

Summary  |  Top
   public final void copyTexSubImage1D(int target, 
                                       int level, 
                                       int xoffset, 
                                       int x, 
                                       int y, 
                                       int width)  throws OpenGLException

Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing one-dimensional texture image

Parameter Description
target The constant GL_TEXTURE_1D
level The mipmap level-of-detail
xoffset The texel offset of where to put the subimage within the existing texture array
x The x-coord of the pixel rectangle
y The y-coord of the pixel rectangle
width The number of pixels to copy

Throws: OpenGLException
General OpenGL Error
Implements:
copyTexSubImage1D in interface GL


· glBindTexture

Summary  |  Top
   public final void glBindTexture(int target, 
                                   int textureName)  throws OpenGLException

Creates and uses texture objects. Upon first invocation, a default texture object is created and bound. Upon subsequent invocations with a given texture object, it makes the given texture current

Parameter Description
target Dimensionality of texture to bind
textureName The name to be given to the texture

Throws: OpenGLException
General OpenGL Error
Implements:
glBindTexture in interface GL


· bindTexture

Summary  |  Top
   public final void bindTexture(int target, 
                                 int textureName)  throws OpenGLException

Creates and uses texture objects. Upon first invocation, a default texture object is created and bound. Upon subsequent invocations with a given texture object, it makes the given texture current

Parameter Description
target Dimensionality of texture to bind
textureName The name to be given to the texture

Throws: OpenGLException
General OpenGL Error
Implements:
bindTexture in interface GL


· glPopName

Summary  |  Top
   public final void glPopName()  throws OpenGLException

Pop the name stack

Throws: OpenGLException
General OpenGL Error
Implements:
glPopName in interface GL


· popName

Summary  |  Top
   public final void popName()  throws OpenGLException

Pop the name stack

Throws: OpenGLException
General OpenGL Error
Implements:
popName in interface GL


· glColor4iv

Summary  |  Top
   public final void glColor4iv(int[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 4 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4iv in interface GL


· glDisable

Summary  |  Top
   public final void glDisable(int cap)  throws OpenGLException

Turns off the given capability in the OpenGL pipeline

Parameter Description
cap The capability to switch off

Throws: OpenGLException
General OpenGL Error
Implements:
glDisable in interface GL


· disable

Summary  |  Top
   public final void disable(int cap)  throws OpenGLException

Turns off the given capability in the OpenGL pipeline

Parameter Description
cap The capability to switch off

Throws: OpenGLException
General OpenGL Error
Implements:
disable in interface GL


· glEvalCoord2d

Summary  |  Top
   public final void glEvalCoord2d(double u, 
                                   double v)  throws OpenGLException

Evaluate enabled one- and two-dimensional maps

Parameter Description
u First domain coordinate
v Second domain coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalCoord2d in interface GL


· glPopAttrib

Summary  |  Top
   public final void glPopAttrib()  throws OpenGLException

Pushes the given attribute onto the attribute stack

Throws: OpenGLException
General OpenGL Error
Implements:
glPopAttrib in interface GL


· popAttrib

Summary  |  Top
   public final void popAttrib()  throws OpenGLException

Pushes the given attribute onto the attribute stack

Throws: OpenGLException
General OpenGL Error
Implements:
popAttrib in interface GL


· glNormal3dv

Summary  |  Top
   public final void glNormal3dv(double[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3dv in interface GL


· normal

Summary  |  Top
   public final void normal(double[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glEvalCoord2f

Summary  |  Top
   public final void glEvalCoord2f(float u, 
                                   float v)  throws OpenGLException

Evaluate enabled one- and two-dimensional maps

Parameter Description
u First domain coordinate
v Second domain coordinate

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalCoord2f in interface GL


· glGetMapdv

Summary  |  Top
   public final void glGetMapdv(int target, 
                                int query, 
                                double[] v)  throws OpenGLException

Return evaluator parameters

Parameter Description
target Specifies the symbolic constant of a map
query Specifies which parameter to return
v Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetMapdv in interface GL


· getMap

Summary  |  Top
   public final void getMap(int target, 
                            int query, 
                            double[] v)  throws OpenGLException

Return evaluator parameters

Parameter Description
target Specifies the symbolic constant of a map
query Specifies which parameter to return
v Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getMap in interface GL


· glSelectBuffer

Summary  |  Top
   public final void glSelectBuffer(int size, 
                                    int[] buffer)  throws OpenGLException

Establish a buffer for selection mode values. This function is slightly tricky to use correctly under Magician as the depth values are represented by 2 values scaled from 0.0 to 1.0 into 2^32 - 1. Therefore, to extract the depth values you must divide by 0x7fffffff. Unfortunately, the selection buffer should be of type unsigned int, but, as Java does not support unsigned int values you must take the twos-complement of the integer value in the selection buffer prior to dividing by 0x7fffffff. See the ``Red Book'' select.java demo for more details.

Parameter Description
size The size of `buffer'
buffer Returns the selection data

Throws: OpenGLException
General OpenGL Error
Implements:
glSelectBuffer in interface GL


· selectBuffer

Summary  |  Top
   public final void selectBuffer(int size, 
                                  int[] buffer)  throws OpenGLException

Establish a buffer for selection mode values. This function is slightly tricky to use correctly under Magician as the depth values are represented by 2 values scaled from 0.0 to 1.0 into 2^32 - 1. Therefore, to extract the depth values you must divide by 0x7fffffff. Unfortunately, the selection buffer should be of type unsigned int, but, as Java does not support unsigned int values you must take the twos-complement of the integer value in the selection buffer prior to dividing by 0x7fffffff. See the ``Red Book'' select.java demo for more details.

Parameter Description
size The size of `buffer'
buffer Returns the selection data

Throws: OpenGLException
General OpenGL Error
Implements:
selectBuffer in interface GL


· glFogf

Summary  |  Top
   public final void glFogf(int pname, 
                            float param)  throws OpenGLException

Specify fog parameters

Parameter Description
pname The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
param The value of the given parameter in `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
glFogf in interface GL


· fog

Summary  |  Top
   public final void fog(int pname, 
                         float param)  throws OpenGLException

Specify fog parameters

Parameter Description
pname The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
param The value of the given parameter in `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
fog in interface GL


· glEvalPoint1

Summary  |  Top
   public final void glEvalPoint1(int i)  throws OpenGLException

Generate and evaluate a single point in a mesh

Parameter Description
i Specifies the integer value for grid domain variable `i'

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalPoint1 in interface GL


· evalPoint

Summary  |  Top
   public final void evalPoint(int i)  throws OpenGLException

Generate and evaluate a single point in a mesh

Parameter Description
i Specifies the integer value for grid domain variable `i'

Throws: OpenGLException
General OpenGL Error
Implements:
evalPoint in interface GL


· glTexCoord3sv

Summary  |  Top
   public final void glTexCoord3sv(short[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord3sv in interface GL


· glEvalPoint2

Summary  |  Top
   public final void glEvalPoint2(int i, 
                                  int j)  throws OpenGLException

Generate and evaluate a single point in a mesh

Parameter Description
i Specifies the integer value for grid domain variable `i'
j Specifies the integer value for grid domain variable `j'

Throws: OpenGLException
General OpenGL Error
Implements:
glEvalPoint2 in interface GL


· evalPoint

Summary  |  Top
   public final void evalPoint(int i, 
                               int j)  throws OpenGLException

Generate and evaluate a single point in a mesh

Parameter Description
i Specifies the integer value for grid domain variable `i'
j Specifies the integer value for grid domain variable `j'

Throws: OpenGLException
General OpenGL Error
Implements:
evalPoint in interface GL


· glPopMatrix

Summary  |  Top
   public final void glPopMatrix()  throws OpenGLException

Pop the current matrix stack

Throws: OpenGLException
General OpenGL Error
Implements:
glPopMatrix in interface GL


· popMatrix

Summary  |  Top
   public final void popMatrix()  throws OpenGLException

Pop the current matrix stack

Throws: OpenGLException
General OpenGL Error
Implements:
popMatrix in interface GL


· glFogi

Summary  |  Top
   public final void glFogi(int pname, 
                            int param)  throws OpenGLException

Specify fog parameters

Parameter Description
pname The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
param The value of the given parameter in `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
glFogi in interface GL


· fog

Summary  |  Top
   public final void fog(int pname, 
                         int param)  throws OpenGLException

Specify fog parameters

Parameter Description
pname The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
param The value of the given parameter in `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
fog in interface GL


· glScissor

Summary  |  Top
   public final void glScissor(int x, 
                               int y, 
                               int width, 
                               int height)  throws OpenGLException

Define the scissor box

Parameter Description
x The x-coordinate of the lower-left corner of the scissor box
y The y-coordinate of the lower-left corner of the scissor box
width The width of the scissor box
height The height of the scissor box

Throws: OpenGLException
General OpenGL Error
Implements:
glScissor in interface GL


· scissor

Summary  |  Top
   public final void scissor(int x, 
                             int y, 
                             int width, 
                             int height)  throws OpenGLException

Define the scissor box

Parameter Description
x The x-coordinate of the lower-left corner of the scissor box
y The y-coordinate of the lower-left corner of the scissor box
width The width of the scissor box
height The height of the scissor box

Throws: OpenGLException
General OpenGL Error
Implements:
scissor in interface GL


· glColor3uiv

Summary  |  Top
   public final void glColor3uiv(int[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 3 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor3uiv in interface GL


· glArrayElement

Summary  |  Top
   public final void glArrayElement(int ith)  throws OpenGLException

Specify the array elements used to render a vertex

Parameter Description
ith The array index to obtain information for

Throws: OpenGLException
General OpenGL Error
Implements:
glArrayElement in interface GL


· arrayElement

Summary  |  Top
   public final void arrayElement(int ith)  throws OpenGLException

Specify the array elements used to render a vertex

Parameter Description
ith The array index to obtain information for

Throws: OpenGLException
General OpenGL Error
Implements:
arrayElement in interface GL


· glColorMask

Summary  |  Top
   public final void glColorMask(boolean red, 
                                 boolean green, 
                                 boolean blue, 
                                 boolean alpha)  throws OpenGLException

Enable and disable writing of frame buffer colour components

Parameter Description
red The red component of the colour mask
green The green component of the colour mask
blue The blue component of the colour mask
alpha The alpha component of the colour mask

Throws: OpenGLException
General OpenGL Error
Implements:
glColorMask in interface GL


· colorMask

Summary  |  Top
   public final void colorMask(boolean red, 
                               boolean green, 
                               boolean blue, 
                               boolean alpha)  throws OpenGLException

Enable and disable writing of frame buffer colour components

Parameter Description
red The red component of the colour mask
green The green component of the colour mask
blue The blue component of the colour mask
alpha The alpha component of the colour mask

Throws: OpenGLException
General OpenGL Error
Implements:
colorMask in interface GL


· glColorMask

Summary  |  Top
   public final void glColorMask(byte red, 
                                 byte green, 
                                 byte blue, 
                                 byte alpha)  throws OpenGLException

Enable and disable writing of frame buffer colour components

Parameter Description
red The red component of the colour mask
green The green component of the colour mask
blue The blue component of the colour mask
alpha The alpha component of the colour mask

Throws: OpenGLException
General OpenGL Error
Implements:
glColorMask in interface GL


· colorMask

Summary  |  Top
   public final void colorMask(byte red, 
                               byte green, 
                               byte blue, 
                               byte alpha)  throws OpenGLException

Enable and disable writing of frame buffer colour components

Parameter Description
red The red component of the colour mask
green The green component of the colour mask
blue The blue component of the colour mask
alpha The alpha component of the colour mask

Throws: OpenGLException
General OpenGL Error
Implements:
colorMask in interface GL


· glColorMask

Summary  |  Top
   public final void glColorMask(int red, 
                                 int green, 
                                 int blue, 
                                 int alpha)  throws OpenGLException

Enable and disable writing of frame buffer colour components

Parameter Description
red The red component of the colour mask
green The green component of the colour mask
blue The blue component of the colour mask
alpha The alpha component of the colour mask

Throws: OpenGLException
General OpenGL Error
Implements:
glColorMask in interface GL


· colorMask

Summary  |  Top
   public final void colorMask(int red, 
                               int green, 
                               int blue, 
                               int alpha)  throws OpenGLException

Enable and disable writing of frame buffer colour components

Parameter Description
red The red component of the colour mask
green The green component of the colour mask
blue The blue component of the colour mask
alpha The alpha component of the colour mask

Throws: OpenGLException
General OpenGL Error
Implements:
colorMask in interface GL


· glScaled

Summary  |  Top
   public final void glScaled(double x, 
                              double y, 
                              double z)  throws OpenGLException

Multiply the current matrix by a general scaling matrix

Parameter Description
x The scale factor along the x axis
y The scale factor along the y axis
z The scale factor along the z axis

Throws: OpenGLException
General OpenGL Error
Implements:
glScaled in interface GL


· scale

Summary  |  Top
   public final void scale(double x, 
                           double y, 
                           double z)  throws OpenGLException

Multiply the current matrix by a general scaling matrix

Parameter Description
x The scale factor along the x axis
y The scale factor along the y axis
z The scale factor along the z axis

Throws: OpenGLException
General OpenGL Error
Implements:
scale in interface GL


· glTexParameterfv

Summary  |  Top
   public final void glTexParameterfv(int target, 
                                      int pname, 
                                      float[] param)  throws OpenGLException

Set texture parameters

Parameter Description
target Specifies the target texture
pname Specifies the name of a texture parameter
param Specifies the value or values of `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
glTexParameterfv in interface GL


· texParameter

Summary  |  Top
   public final void texParameter(int target, 
                                  int pname, 
                                  float[] param)  throws OpenGLException

Set texture parameters

Parameter Description
target Specifies the target texture
pname Specifies the name of a texture parameter
param Specifies the value or values of `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
texParameter in interface GL


· glScalef

Summary  |  Top
   public final void glScalef(float x, 
                              float y, 
                              float z)  throws OpenGLException

Multiply the current matrix by a general scaling matrix

Parameter Description
x The scale factor along the x axis
y The scale factor along the y axis
z The scale factor along the z axis

Throws: OpenGLException
General OpenGL Error
Implements:
glScalef in interface GL


· scale

Summary  |  Top
   public final void scale(float x, 
                           float y, 
                           float z)  throws OpenGLException

Multiply the current matrix by a general scaling matrix

Parameter Description
x The scale factor along the x axis
y The scale factor along the y axis
z The scale factor along the z axis

Throws: OpenGLException
General OpenGL Error
Implements:
scale in interface GL


· glCopyTexSubImage2D

Summary  |  Top
   public final void glCopyTexSubImage2D(int target, 
                                         int level, 
                                         int xoffset, 
                                         int yoffset, 
                                         int x, 
                                         int y, 
                                         int width, 
                                         int height)  throws OpenGLException

Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing two-dimensional texture image

Parameter Description
target The constant GL_TEXTURE_2D
level The mipmap level-of-detail
xoffset The x texel offset of where to place the subimage
yoffset The y texel offset of where to place the subimage
x The x-coord of the bottom-left of the pixel rectangle
y The y-coord of the bottom-left of the pixel rectangle
width The width of the subimage rectangle to copy
height The height of the subimage rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
glCopyTexSubImage2D in interface GL


· copyTexSubImage2D

Summary  |  Top
   public final void copyTexSubImage2D(int target, 
                                       int level, 
                                       int xoffset, 
                                       int yoffset, 
                                       int x, 
                                       int y, 
                                       int width, 
                                       int height)  throws OpenGLException

Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing two-dimensional texture image

Parameter Description
target The constant GL_TEXTURE_2D
level The mipmap level-of-detail
xoffset The x texel offset of where to place the subimage
yoffset The y texel offset of where to place the subimage
x The x-coord of the bottom-left of the pixel rectangle
y The y-coord of the bottom-left of the pixel rectangle
width The width of the subimage rectangle to copy
height The height of the subimage rectangle

Throws: OpenGLException
General OpenGL Error
Implements:
copyTexSubImage2D in interface GL


· glRectd

Summary  |  Top
   public final void glRectd(double x1, 
                             double y1, 
                             double x2, 
                             double y2)  throws OpenGLException

Draw a rectangle

Parameter Description
x1 The x-coordinate of the first corner of the rectangle
y1 The y-coordinate of the first corner of the rectangle
x2 The x-coordinate of the second corner of the rectangle opposite to the first
y2 The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws: OpenGLException
General OpenGL Error
Implements:
glRectd in interface GL


· rect

Summary  |  Top
   public final void rect(double x1, 
                          double y1, 
                          double x2, 
                          double y2)  throws OpenGLException

Draw a rectangle

Parameter Description
x1 The x-coordinate of the first corner of the rectangle
y1 The y-coordinate of the first corner of the rectangle
x2 The x-coordinate of the second corner of the rectangle opposite to the first
y2 The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws: OpenGLException
General OpenGL Error
Implements:
rect in interface GL


· glRectf

Summary  |  Top
   public final void glRectf(float x1, 
                             float y1, 
                             float x2, 
                             float y2)  throws OpenGLException

Draw a rectangle

Parameter Description
x1 The x-coordinate of the first corner of the rectangle
y1 The y-coordinate of the first corner of the rectangle
x2 The x-coordinate of the second corner of the rectangle opposite to the first
y2 The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws: OpenGLException
General OpenGL Error
Implements:
glRectf in interface GL


· rect

Summary  |  Top
   public final void rect(float x1, 
                          float y1, 
                          float x2, 
                          float y2)  throws OpenGLException

Draw a rectangle

Parameter Description
x1 The x-coordinate of the first corner of the rectangle
y1 The y-coordinate of the first corner of the rectangle
x2 The x-coordinate of the second corner of the rectangle opposite to the first
y2 The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws: OpenGLException
General OpenGL Error
Implements:
rect in interface GL


· glTexCoord3dv

Summary  |  Top
   public final void glTexCoord3dv(double[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord3dv in interface GL


· glTexCoord2fv

Summary  |  Top
   public final void glTexCoord2fv(float[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord2fv in interface GL


· glIndexiv

Summary  |  Top
   public final void glIndexiv(int[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexiv in interface GL


· index

Summary  |  Top
   public final void index(int[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glRecti

Summary  |  Top
   public final void glRecti(int x1, 
                             int y1, 
                             int x2, 
                             int y2)  throws OpenGLException

Draw a rectangle

Parameter Description
x1 The x-coordinate of the first corner of the rectangle
y1 The y-coordinate of the first corner of the rectangle
x2 The x-coordinate of the second corner of the rectangle opposite to the first
y2 The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws: OpenGLException
General OpenGL Error
Implements:
glRecti in interface GL


· rect

Summary  |  Top
   public final void rect(int x1, 
                          int y1, 
                          int x2, 
                          int y2)  throws OpenGLException

Draw a rectangle

Parameter Description
x1 The x-coordinate of the first corner of the rectangle
y1 The y-coordinate of the first corner of the rectangle
x2 The x-coordinate of the second corner of the rectangle opposite to the first
y2 The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws: OpenGLException
General OpenGL Error
Implements:
rect in interface GL


· glVertex3sv

Summary  |  Top
   public final void glVertex3sv(short[] z)  throws OpenGLException

Specify a vertex

Parameter Description
z Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex3sv in interface GL


· glRasterPos2sv

Summary  |  Top
   public final void glRasterPos2sv(short[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos2sv in interface GL


· glFeedbackBuffer

Summary  |  Top
   public final void glFeedbackBuffer(int size, 
                                      int type, 
                                      float[] buffer)  throws OpenGLException

Controls feedback mode

Parameter Description
size The maximum number of values storable in the feedback array
type The type of information fed back for each vertex in the feedback array. Possible values are GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE and GL_4D_COLOR_TEXTURE
buffer The feedback buffer itself

Throws: OpenGLException
General OpenGL Error
Implements:
glFeedbackBuffer in interface GL


· feedbackBuffer

Summary  |  Top
   public final void feedbackBuffer(int size, 
                                    int type, 
                                    float[] buffer)  throws OpenGLException

Controls feedback mode

Parameter Description
size The maximum number of values storable in the feedback array
type The type of information fed back for each vertex in the feedback array. Possible values are GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE and GL_4D_COLOR_TEXTURE
buffer The feedback buffer itself

Throws: OpenGLException
General OpenGL Error
Implements:
feedbackBuffer in interface GL


· glRects

Summary  |  Top
   public final void glRects(short x1, 
                             short y1, 
                             short x2, 
                             short y2)  throws OpenGLException

Draw a rectangle

Parameter Description
x1 The x-coordinate of the first corner of the rectangle
y1 The y-coordinate of the first corner of the rectangle
x2 The x-coordinate of the second corner of the rectangle opposite to the first
y2 The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws: OpenGLException
General OpenGL Error
Implements:
glRects in interface GL


· rect

Summary  |  Top
   public final void rect(short x1, 
                          short y1, 
                          short x2, 
                          short y2)  throws OpenGLException

Draw a rectangle

Parameter Description
x1 The x-coordinate of the first corner of the rectangle
y1 The y-coordinate of the first corner of the rectangle
x2 The x-coordinate of the second corner of the rectangle opposite to the first
y2 The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws: OpenGLException
General OpenGL Error
Implements:
rect in interface GL


· glGetTexLevelParameterfv

Summary  |  Top
   public final void glGetTexLevelParameterfv(int target, 
                                              int level, 
                                              int pname, 
                                              float[] params)  throws OpenGLException

Return texture parameter values for a specific level of detail

Parameter Description
target The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D
level The mipmap level-of-detail
pname The texture parameter that is being queried. Legal values are GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_BORDER, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE or GL_TEXTURE_INTENSITY_SIZE
params The buffer into which the queried values are returned

Throws: OpenGLException
General OpenGL Error
Implements:
glGetTexLevelParameterfv in interface GL


· getTexLevelParameter

Summary  |  Top
   public final void getTexLevelParameter(int target, 
                                          int level, 
                                          int pname, 
                                          float[] params)  throws OpenGLException

Return texture parameter values for a specific level of detail

Parameter Description
target The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D
level The mipmap level-of-detail
pname The texture parameter that is being queried. Legal values are GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_BORDER, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE or GL_TEXTURE_INTENSITY_SIZE
params The buffer into which the queried values are returned

Throws: OpenGLException
General OpenGL Error
Implements:
getTexLevelParameter in interface GL


· glTexGenfv

Summary  |  Top
   public final void glTexGenfv(int coord, 
                                int pname, 
                                float[] param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
glTexGenfv in interface GL


· texGen

Summary  |  Top
   public final void texGen(int coord, 
                            int pname, 
                            float[] param)  throws OpenGLException

Control the generation of texture coordinates

Parameter Description
coord Specifies a texture coordinate
pname Specifies a symbolic coordinate describing the texture generation function
param Specifies a texture generation parameter

Throws: OpenGLException
General OpenGL Error
Implements:
texGen in interface GL


· glVertex3dv

Summary  |  Top
   public final void glVertex3dv(double[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex3dv in interface GL


· glVertex2fv

Summary  |  Top
   public final void glVertex2fv(float[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex2fv in interface GL


· glPolygonMode

Summary  |  Top
   public final void glPolygonMode(int face, 
                                   int mode)  throws OpenGLException

Select a polygon rasterization mode

Parameter Description
face Specifies the polygons that `mode' applies to
mode Specifies how polygons will be rasterized

Throws: OpenGLException
General OpenGL Error
Implements:
glPolygonMode in interface GL


· polygonMode

Summary  |  Top
   public final void polygonMode(int face, 
                                 int mode)  throws OpenGLException

Select a polygon rasterization mode

Parameter Description
face Specifies the polygons that `mode' applies to
mode Specifies how polygons will be rasterized

Throws: OpenGLException
General OpenGL Error
Implements:
polygonMode in interface GL


· glRasterPos2dv

Summary  |  Top
   public final void glRasterPos2dv(double[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos2dv in interface GL


· glHint

Summary  |  Top
   public final void glHint(int target, 
                            int mode)  throws OpenGLException

Specify implementation-specific hints

Parameter Description
target The behaviour which is to be controlled. Legal values are GL_POINT_SMOOTH_HINT, GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_FOG_HINT and GL_PERSPECTIVE_CORRECTION_HINT
mode The value to set the hint to

Throws: OpenGLException
General OpenGL Error
Implements:
glHint in interface GL


· hint

Summary  |  Top
   public final void hint(int target, 
                          int mode)  throws OpenGLException

Specify implementation-specific hints

Parameter Description
target The behaviour which is to be controlled. Legal values are GL_POINT_SMOOTH_HINT, GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_FOG_HINT and GL_PERSPECTIVE_CORRECTION_HINT
mode The value to set the hint to

Throws: OpenGLException
General OpenGL Error
Implements:
hint in interface GL


· glTexParameterf

Summary  |  Top
   public final void glTexParameterf(int target, 
                                     int pname, 
                                     float param)  throws OpenGLException

Set texture parameters

Parameter Description
target Specifies the target texture
pname Specifies the name of a texture parameter
param Specifies the value or values of `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
glTexParameterf in interface GL


· texParameter

Summary  |  Top
   public final void texParameter(int target, 
                                  int pname, 
                                  float param)  throws OpenGLException

Set texture parameters

Parameter Description
target Specifies the target texture
pname Specifies the name of a texture parameter
param Specifies the value or values of `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
texParameter in interface GL


· glTexCoord1iv

Summary  |  Top
   public final void glTexCoord1iv(int[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord1iv in interface GL


· glCallList

Summary  |  Top
   public final void glCallList(int list)  throws OpenGLException

Executes a display list

Parameter Description
list The display list identifier to execute

Throws: OpenGLException
General OpenGL Error
Implements:
glCallList in interface GL


· callList

Summary  |  Top
   public final void callList(int list)  throws OpenGLException

Executes a display list

Parameter Description
list The display list identifier to execute

Throws: OpenGLException
General OpenGL Error
Implements:
callList in interface GL


· glNormal3fv

Summary  |  Top
   public final void glNormal3fv(float[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
glNormal3fv in interface GL


· normal

Summary  |  Top
   public final void normal(float[] v)  throws OpenGLException

Set the current normal vector

Parameter Description
v Specifies a pointer to an array of three elements

Throws: OpenGLException
General OpenGL Error
Implements:
normal in interface GL


· glPassThrough

Summary  |  Top
   public final void glPassThrough(float token)  throws OpenGLException

Place a marker in the feedback buffer

Parameter Description
token Specifies a marker value to be placed in the feedback buffer

Throws: OpenGLException
General OpenGL Error
Implements:
glPassThrough in interface GL


· passThrough

Summary  |  Top
   public final void passThrough(float token)  throws OpenGLException

Place a marker in the feedback buffer

Parameter Description
token Specifies a marker value to be placed in the feedback buffer

Throws: OpenGLException
General OpenGL Error
Implements:
passThrough in interface GL


· glRasterPos2d

Summary  |  Top
   public final void glRasterPos2d(double x, 
                                   double y)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos2d in interface GL


· glGetMapfv

Summary  |  Top
   public final void glGetMapfv(int target, 
                                int query, 
                                float[] v)  throws OpenGLException

Return evaluator parameters

Parameter Description
target Specifies the symbolic constant of a map
query Specifies which parameter to return
v Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
glGetMapfv in interface GL


· getMap

Summary  |  Top
   public final void getMap(int target, 
                            int query, 
                            float[] v)  throws OpenGLException

Return evaluator parameters

Parameter Description
target Specifies the symbolic constant of a map
query Specifies which parameter to return
v Returns the requested data

Throws: OpenGLException
General OpenGL Error
Implements:
getMap in interface GL


· glTexParameteri

Summary  |  Top
   public final void glTexParameteri(int target, 
                                     int pname, 
                                     int param)  throws OpenGLException

Set texture parameters

Parameter Description
target Specifies the target texture
pname Specifies the name of a texture parameter
param Specifies the value or values of `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
glTexParameteri in interface GL


· texParameter

Summary  |  Top
   public final void texParameter(int target, 
                                  int pname, 
                                  int param)  throws OpenGLException

Set texture parameters

Parameter Description
target Specifies the target texture
pname Specifies the name of a texture parameter
param Specifies the value or values of `pname'

Throws: OpenGLException
General OpenGL Error
Implements:
texParameter in interface GL


· glRasterPos2f

Summary  |  Top
   public final void glRasterPos2f(float x, 
                                   float y)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos2f in interface GL


· glRasterPos2i

Summary  |  Top
   public final void glRasterPos2i(int x, 
                                   int y)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos2i in interface GL


· glDrawArrays

Summary  |  Top
   public final void glDrawArrays(int mode, 
                                  int first, 
                                  int count)  throws OpenGLException

Render primitives from array data

Parameter Description
mode The type of primitives to be constructed
first The first array index to process
count The number of array elements to process

Throws: OpenGLException
General OpenGL Error
Implements:
glDrawArrays in interface GL


· drawArrays

Summary  |  Top
   public final void drawArrays(int mode, 
                                int first, 
                                int count)  throws OpenGLException

Render primitives from array data

Parameter Description
mode The type of primitives to be constructed
first The first array index to process
count The number of array elements to process

Throws: OpenGLException
General OpenGL Error
Implements:
drawArrays in interface GL


· glTexCoord4sv

Summary  |  Top
   public final void glTexCoord4sv(short[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord4sv in interface GL


· glIndexubv

Summary  |  Top
   public final void glIndexubv(byte[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
glIndexubv in interface GL


· index

Summary  |  Top
   public final void index(byte[] c)  throws OpenGLException

Set the current colour index

Parameter Description
c Array of colour index values to set

Throws: OpenGLException
General OpenGL Error
Implements:
index in interface GL


· glRasterPos2s

Summary  |  Top
   public final void glRasterPos2s(short x, 
                                   short y)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos2s in interface GL


· glOrtho

Summary  |  Top
   public final void glOrtho(double left, 
                             double right, 
                             double bottom, 
                             double top, 
                             double nearValue, 
                             double farValue)  throws OpenGLException

Multiply the current matrix by an orthographic matrix

Parameter Description
left The left clipping plane
right The right clipping plane
bottom The bottom clipping plane
top The top clipping plane
nearValue The near clipping plane
farValue The far clipping plane

Throws: OpenGLException
General OpenGL Error
Implements:
glOrtho in interface GL


· ortho

Summary  |  Top
   public final void ortho(double left, 
                           double right, 
                           double bottom, 
                           double top, 
                           double nearValue, 
                           double farValue)  throws OpenGLException

Multiply the current matrix by an orthographic matrix

Parameter Description
left The left clipping plane
right The right clipping plane
bottom The bottom clipping plane
top The top clipping plane
nearValue The near clipping plane
farValue The far clipping plane

Throws: OpenGLException
General OpenGL Error
Implements:
ortho in interface GL


· glTexCoord4dv

Summary  |  Top
   public final void glTexCoord4dv(double[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord4dv in interface GL


· glTexCoord3fv

Summary  |  Top
   public final void glTexCoord3fv(float[] v)  throws OpenGLException

Set the current texture coordinates

Parameter Description
v An array of texture coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glTexCoord3fv in interface GL


· glGetClipPlane

Summary  |  Top
   public final void glGetClipPlane(int plane, 
                                    double[] equation)  throws OpenGLException

Return the co-efficients of the specified clipping plane

Parameter Description
plane Specifies a clipping plane
equation Returns four doubles that are the co-efficients of the plane equation in eye coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
glGetClipPlane in interface GL


· getClipPlane

Summary  |  Top
   public final void getClipPlane(int plane, 
                                  double[] equation)  throws OpenGLException

Return the co-efficients of the specified clipping plane

Parameter Description
plane Specifies a clipping plane
equation Returns four doubles that are the co-efficients of the plane equation in eye coordinates

Throws: OpenGLException
General OpenGL Error
Implements:
getClipPlane in interface GL


· glRasterPos3d

Summary  |  Top
   public final void glRasterPos3d(double x, 
                                   double y, 
                                   double z)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position
z The z-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos3d in interface GL


· glVertex4sv

Summary  |  Top
   public final void glVertex4sv(short[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex4sv in interface GL


· glRasterPos3f

Summary  |  Top
   public final void glRasterPos3f(float x, 
                                   float y, 
                                   float z)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position
z The z-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos3f in interface GL


· glGenTextures

Summary  |  Top
   public final void glGenTextures(int n, 
                                   int[] textureNames)  throws OpenGLException

Returns the desired quantity of current unused names for texture objects that can be used with glBindTexture. The texture objects are not created at this, the names are merely flagged as being used @see COM.hermetica.magician.GL#glBindTextures

Parameter Description
n The number of texture objects to generate
textureNames Will contain the names of the newly generated texture objects

Throws: OpenGLException
General OpenGL Error
Implements:
glGenTextures in interface GL


· genTextures

Summary  |  Top
   public final void genTextures(int n, 
                                 int[] textureNames)  throws OpenGLException

Returns the desired quantity of current unused names for texture objects that can be used with glBindTexture. The texture objects are not created at this, the names are merely flagged as being used @see COM.hermetica.magician.GL#glBindTextures

Parameter Description
n The number of texture objects to generate
textureNames Will contain the names of the newly generated texture objects

Throws: OpenGLException
General OpenGL Error
Implements:
genTextures in interface GL


· glRasterPos3i

Summary  |  Top
   public final void glRasterPos3i(int x, 
                                   int y, 
                                   int z)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position
z The z-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos3i in interface GL


· glRasterPos3sv

Summary  |  Top
   public final void glRasterPos3sv(short[] coords)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
coords Buffer containing the required number of coordinate to specify the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos3sv in interface GL


· glDeleteLists

Summary  |  Top
   public final void glDeleteLists(int list, 
                                   int range)  throws OpenGLException

Delete a contiguous group of display lists

Parameter Description
list The starting index of display lists to delete
range The number of lists to delete, starting at `list'

Throws: OpenGLException
General OpenGL Error
Implements:
glDeleteLists in interface GL


· deleteLists

Summary  |  Top
   public final void deleteLists(int list, 
                                 int range)  throws OpenGLException

Delete a contiguous group of display lists

Parameter Description
list The starting index of display lists to delete
range The number of lists to delete, starting at `list'

Throws: OpenGLException
General OpenGL Error
Implements:
deleteLists in interface GL


· glEdgeFlagv

Summary  |  Top
   public final void glEdgeFlagv(boolean[] flag)  throws OpenGLException

Flag edges as either boundary or nonboundary using an array of values

Parameter Description
flag An array of boolean values indicating the edge flags for many vertices

Throws: OpenGLException
General OpenGL Error
Implements:
glEdgeFlagv in interface GL


· edgeFlag

Summary  |  Top
   public final void edgeFlag(boolean[] flag)  throws OpenGLException

Flag edges as either boundary or nonboundary using an array of values

Parameter Description
flag An array of boolean values indicating the edge flags for many vertices

Throws: OpenGLException
General OpenGL Error
Implements:
edgeFlag in interface GL


· glEdgeFlagv

Summary  |  Top
   public final void glEdgeFlagv(byte[] flag)  throws OpenGLException

Flag edges as either boundary or nonboundary using an array of values

Parameter Description
flag An array of boolean values indicating the edge flags for many vertices

Throws: OpenGLException
General OpenGL Error
Implements:
glEdgeFlagv in interface GL


· edgeFlag

Summary  |  Top
   public final void edgeFlag(byte[] flag)  throws OpenGLException

Flag edges as either boundary or nonboundary using an array of values

Parameter Description
flag An array of boolean values indicating the edge flags for many vertices

Throws: OpenGLException
General OpenGL Error
Implements:
edgeFlag in interface GL


· glEdgeFlagv

Summary  |  Top
   public final void glEdgeFlagv(int[] flag)  throws OpenGLException

Flag edges as either boundary or nonboundary using an array of values

Parameter Description
flag An array of boolean values indicating the edge flags for many vertices

Throws: OpenGLException
General OpenGL Error
Implements:
glEdgeFlagv in interface GL


· edgeFlag

Summary  |  Top
   public final void edgeFlag(int[] flag)  throws OpenGLException

Flag edges as either boundary or nonboundary using an array of values

Parameter Description
flag An array of boolean values indicating the edge flags for many vertices

Throws: OpenGLException
General OpenGL Error
Implements:
edgeFlag in interface GL


· glPointSize

Summary  |  Top
   public final void glPointSize(float size)  throws OpenGLException

Specify the diameter of rasterized points

Parameter Description
size The diameter of rasterized points

Throws: OpenGLException
General OpenGL Error
Implements:
glPointSize in interface GL


· pointSize

Summary  |  Top
   public final void pointSize(float size)  throws OpenGLException

Specify the diameter of rasterized points

Parameter Description
size The diameter of rasterized points

Throws: OpenGLException
General OpenGL Error
Implements:
pointSize in interface GL


· glColor4uiv

Summary  |  Top
   public final void glColor4uiv(int[] v)  throws OpenGLException

Sets the current colour

Parameter Description
v An array containing the 4 component colour values

Throws: OpenGLException
General OpenGL Error
Implements:
glColor4uiv in interface GL


· glRasterPos3s

Summary  |  Top
   public final void glRasterPos3s(short x, 
                                   short y, 
                                   short z)  throws OpenGLException

Specify the raster position for pixel

Parameter Description
x The x-coordinate of the raster position
y The y-coordinate of the raster position
z The z-coordinate of the raster position

Throws: OpenGLException
General OpenGL Error
Implements:
glRasterPos3s in interface GL


· glVertex4dv

Summary  |  Top
   public final void glVertex4dv(double[] v)  throws OpenGLException

Specify a vertex

Parameter Description
v Buffer containing vertex data

Throws: OpenGLException
General OpenGL Error
Implements:
glVertex4dv in interface GL


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7