|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hermetica.magician.TemplateGL
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.
Field Summary | |
static java.lang.String |
VERSION
Version information |
Constructor Summary | |
TemplateGL(GL parent)
Constructs a new TemplateGL pipeline with the given pipeline as a parent in the execution stack. |
Method Summary | |
void |
accum(int op,
float value)
Operate on the accumulation buffer |
void |
alphaFunc(int func,
float value)
Specify the alpha test function |
boolean |
areTexturesResident(int n,
int[] textures,
boolean[] residence)
Determine if textures are loaded in texture memory |
void |
arrayElement(int ith)
Specify the array elements used to render a vertex |
void |
begin(int mode)
Delimit the vertices of a primitive of a group of like primitives |
void |
bindTexture(int target,
int textureName)
Creates and uses texture objects. |
void |
bitmap(int width,
int height,
float xbo,
float ybo,
float xbi,
float ybi,
byte[] bitmap)
Draw a bitmap |
void |
blendFunc(int sfactor,
int dfactor)
Specify pixel arithmetic |
void |
callList(int list)
Executes a display list |
void |
clear(int mask)
Clear buffers to preset values |
void |
clearAccum(float red,
float green,
float blue,
float alpha)
Specify clear values for the accumulation buffer |
void |
clearColor(float red,
float green,
float blue,
float alpha)
Specify clear values for colour buffers |
void |
clearDepth(double depth)
Specify the clear value for the depth buffer |
void |
clearIndex(float index)
Specify the clear value for the colour index buffers |
void |
clearStencil(int s)
Specify the clear value for the stencil buffer |
void |
clipPlane(int plane,
double[] equation)
Specify a plane against which all geometry is clipped |
void |
color(byte[] ary)
Polymorphic method for glColor3bv and glColor4bv |
void |
color(byte r,
byte g,
byte b)
Polymorphic method for glColor3b |
void |
color(byte r,
byte g,
byte b,
byte a)
Polymorphic method for glColor4b |
void |
color(double[] ary)
Polymorphic method for glColor3dv and glColor4dv |
void |
color(double r,
double g,
double b)
Polymorphic method for glColor3d |
void |
color(double r,
double g,
double b,
double a)
Polymorphic method for glColor4d |
void |
color(float[] ary)
Polymorphic method for glColor3fv and glColour4fv |
void |
color(float r,
float g,
float b)
Polymorphic method for glColor3f |
void |
color(float r,
float g,
float b,
float a)
Polymorphic method for glColor4f |
void |
color(int[] ary)
Polymorphic method for glColor3iv and glColor4iv |
void |
color(int r,
int g,
int b)
Polymorphic method for glColor3i |
void |
color(int r,
int g,
int b,
int a)
Polymorphic method for glColor4i |
void |
color(short[] ary)
Polymorphic method for glColor3sv and glColor4sv |
void |
color(short r,
short g,
short b)
Polymorphic method for glColor3s |
void |
color(short r,
short g,
short b,
short a)
Polymorphic method for glColor4s |
void |
colorMask(boolean red,
boolean green,
boolean blue,
boolean alpha)
Enable and disable writing of frame buffer colour components |
void |
colorMask(byte red,
byte green,
byte blue,
byte alpha)
Enable and disable writing of frame buffer colour components |
void |
colorMask(int red,
int green,
int blue,
int alpha)
Enable and disable writing of frame buffer colour components |
void |
colorMaterial(int face,
int mode)
Cause a material colour to track the current colour |
void |
copyPixels(int x,
int y,
int width,
int height,
int buffer)
Copy pixels in the frame buffer |
void |
copyTexImage1D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int height)
Creates a one-dimensional texture using framebuffer data to define the texels |
void |
copyTexImage2D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int height,
int border)
Creates a two-dimensional texture using framebuffer data to define the texels |
void |
copyTexSubImage1D(int target,
int level,
int xoffset,
int x,
int y,
int width)
Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing one-dimensional texture image |
void |
copyTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height)
Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing two-dimensional texture image |
void |
copyTexSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int x,
int y,
int width,
int height)
Copies a 3D texture sub-image |
void |
cullFace(int mode)
Specify whether front- or back-facing facets can be culled |
void |
deleteLists(int list,
int range)
Delete a contiguous group of display lists |
void |
deleteTextures(int n,
int[] textureNames)
Deletes the given texture objects completely. |
void |
depthFunc(int func)
Specify the value used for depth buffer comparisons |
void |
depthMask(boolean flag)
Enable or disable writing into the depth buffer |
void |
depthMask(byte flag)
Enable or disable writing into the depth buffer |
void |
depthMask(int flag)
Enable or disable writing into the depth buffer |
void |
depthRange(double nearValue,
double farValue)
Specify the mapping z values from normalized device coordinates to window coordinates |
void |
disable(int cap)
Turns off the given capability in the OpenGL pipeline |
void |
disableClientState(int array)
Disable client-side capabiltity |
void |
display(java.lang.String methodName,
java.util.Vector args)
This methods handles the way in which information is displayed. |
void |
drawArrays(int mode,
int first,
int count)
Render primitives from array data |
void |
drawBuffer(int mode)
Specify which colour buffers are to be drawn into |
void |
drawRangeElements(int mode,
int start,
int end,
int count,
int type,
byte[] indices)
Draw a range of array elements |
void |
drawRangeElements(int mode,
int start,
int end,
int count,
int type,
int[] indices)
Draw a range of array elements |
void |
drawRangeElements(int mode,
int start,
int end,
int count,
int type,
short[] indices)
Draw a range of array elements |
void |
edgeFlag(boolean flag)
Flag edges as either boundary or nonboundary |
void |
edgeFlag(boolean[] flag)
Flag edges as either boundary or nonboundary using an array of values |
void |
edgeFlag(byte flag)
Flag edges as either boundary or nonboundary |
void |
edgeFlag(byte[] flag)
Flag edges as either boundary or nonboundary using an array of values |
void |
edgeFlag(int flag)
Flag edges as either boundary or nonboundary |
void |
edgeFlag(int[] flag)
Flag edges as either boundary or nonboundary using an array of values |
void |
edgeFlagPointer(int stride,
boolean[] pointer)
Define an array of edge flags |
void |
enable(int cap)
Enable or disable GL capabilities |
void |
enableClientState(int array)
Enable client-side capabiltity |
void |
end()
Marks the end of a vertex-data list |
void |
endList()
Terminates the specification of a display list |
void |
evalMesh(int mode,
int p1,
int p2)
Compute a one-dimensional grid of points |
void |
evalMesh(int mode,
int i1,
int i2,
int j1,
int j2)
Compute a two-dimensional grid of points |
void |
evalPoint(int i)
Generate and evaluate a single point in a mesh |
void |
evalPoint(int i,
int j)
Generate and evaluate a single point in a mesh |
void |
feedbackBuffer(int size,
int type,
float[] buffer)
Controls feedback mode |
void |
finish()
Block until all GL execution is complete |
void |
flush()
Force execution of GL commands in finite time |
void |
fog(int pname,
float param)
Specify fog parameters |
void |
fog(int pname,
float[] params)
Specify fog parameters |
void |
fog(int pname,
int param)
Specify fog parameters |
void |
fog(int pname,
int[] params)
Specify fog parameters |
void |
frontFace(int mode)
Define front- and back-facing polygons |
void |
frustum(double left,
double right,
double bottom,
double top,
double nearValue,
double farValue)
Multiply the current matrix by a perspective matrix |
int |
genLists(int range)
Generate a contiguous set of empty display lists |
void |
genTextures(int n,
int[] textureNames)
Returns the desired quantity of current unused names for texture objects that can be used with glBindTexture. |
void |
getBoolean(int pname,
boolean[] params)
Return the value or values of a specified parameter |
void |
getClipPlane(int plane,
double[] equation)
Return the co-efficients of the specified clipping plane |
void |
getDouble(int pname,
double[] params)
Return the value or values of a specified parameter |
int |
getError()
Return error information |
void |
getFloat(int pname,
float[] params)
Return the value or values of a specified parameter |
void |
getInteger(int pname,
int[] params)
Return the value or values of a specified parameter |
void |
getLight(int light,
int pname,
float[] params)
Return light source parameter values |
void |
getLight(int light,
int pname,
int[] params)
Return light source parameter values |
void |
getMap(int target,
int query,
double[] v)
Return evaluator parameters |
void |
getMap(int target,
int query,
float[] v)
Return evaluator parameters |
void |
getMap(int target,
int query,
int[] v)
Return evaluator parameters |
void |
getMaterial(int face,
int pname,
float[] params)
Return material parameters |
void |
getMaterial(int face,
int pname,
int[] params)
Return material parameters |
int |
getMode()
Returns the current operating mode of any implementations of this interface. |
GL |
getParent()
Returns the parent interface. |
void |
getPixelMap(int map,
float[] values)
Return the specified pixel map |
void |
getPixelMap(int map,
int[] values)
Return the specified pixel map |
void |
getPixelMap(int map,
short[] values)
Return the specified pixel map |
void |
getPolygonStipple(byte[] mask)
Return the polygon stipple pattern |
java.lang.String |
getString(int name)
Polymorphic definition of glGetString |
void |
getTexEnv(int target,
int pname,
float[] params)
Return texture environment parameters |
void |
getTexEnv(int target,
int pname,
int[] params)
Return texture environment parameters |
void |
getTexGen(int coord,
int pname,
double[] params)
Return texture coordinate generation parameters |
void |
getTexGen(int coord,
int pname,
float[] params)
Return texture coordinate generation parameters |
void |
getTexGen(int coord,
int pname,
int[] params)
Return texture coordinate generation parameters |
void |
getTexLevelParameter(int target,
int level,
int pname,
float[] params)
Return texture parameter values for a specific level of detail |
void |
getTexLevelParameter(int target,
int level,
int pname,
int[] params)
Return texture parameter values for a specific level of detail |
void |
getTexParameter(int target,
int pname,
float[] params)
Return texture parameter values |
void |
getTexParameter(int target,
int pname,
int[] params)
Return texture parameter values |
void |
glAccum(int op,
float value)
Operate on the accumulation buffer |
void |
glAlphaFunc(int func,
float value)
Specify the alpha test function |
boolean |
glAreTexturesResident(int n,
int[] textures,
boolean[] residence)
Determine if textures are loaded in texture memory |
void |
glArrayElement(int ith)
Specify the array elements used to render a vertex |
void |
glBegin(int mode)
Delimit the vertices of a primitive of a group of like primitives |
void |
glBindTexture(int target,
int textureName)
Creates and uses texture objects. |
void |
glBitmap(int width,
int height,
float xbo,
float ybo,
float xbi,
float ybi,
byte[] bitmap)
Draw a bitmap |
void |
glBlendFunc(int sfactor,
int dfactor)
Specify pixel arithmetic |
void |
glCallList(int list)
Executes a display list |
void |
glCallLists(int n,
int type,
byte[] lists)
Execute a list of display lists |
void |
glCallLists(int n,
int type,
int[] lists)
Execute a list of display lists |
void |
glCallLists(int n,
int type,
short[] lists)
Execute a list of display lists |
void |
glClear(int mask)
Clear buffers to preset values |
void |
glClearAccum(float red,
float green,
float blue,
float alpha)
Specify clear values for the accumulation buffer |
void |
glClearColor(float red,
float green,
float blue,
float alpha)
Specify clear values for colour buffers |
void |
glClearDepth(double depth)
Specify the clear value for the depth buffer |
void |
glClearIndex(float index)
Specify the clear value for the colour index buffers |
void |
glClearStencil(int s)
Specify the clear value for the stencil buffer |
void |
glClipPlane(int plane,
double[] equation)
Specify a plane against which all geometry is clipped |
void |
glColor3b(byte r,
byte g,
byte b)
Sets the current colour |
void |
glColor3bv(byte[] v)
Sets the current colour |
void |
glColor3d(double r,
double g,
double b)
Sets the current colour |
void |
glColor3dv(double[] v)
Sets the current colour |
void |
glColor3f(float r,
float g,
float b)
Sets the current colour |
void |
glColor3fv(float[] v)
Sets the current colour |
void |
glColor3i(int r,
int g,
int b)
Sets the current colour |
void |
glColor3iv(int[] v)
Sets the current colour |
void |
glColor3s(short r,
short g,
short b)
Sets the current colour |
void |
glColor3sv(short[] v)
Sets the current colour |
void |
glColor3ub(byte r,
byte g,
byte b)
Sets the current colour |
void |
glColor3ubv(byte[] v)
Sets the current colour |
void |
glColor3ui(int r,
int g,
int b)
Sets the current colour |
void |
glColor3uiv(int[] v)
Sets the current colour |
void |
glColor3us(short r,
short g,
short b)
Sets the current colour |
void |
glColor3usv(short[] v)
Sets the current colour |
void |
glColor4b(byte r,
byte g,
byte b,
byte a)
Sets the current colour |
void |
glColor4bv(byte[] v)
Sets the current colour |
void |
glColor4d(double r,
double g,
double b,
double a)
Sets the current colour |
void |
glColor4dv(double[] v)
Sets the current colour |
void |
glColor4f(float r,
float g,
float b,
float a)
Sets the current colour |
void |
glColor4fv(float[] v)
Sets the current colour |
void |
glColor4i(int r,
int g,
int b,
int a)
Sets the current colour |
void |
glColor4iv(int[] v)
Sets the current colour |
void |
glColor4s(short r,
short g,
short b,
short a)
Sets the current colour |
void |
glColor4sv(short[] v)
Sets the current colour |
void |
glColor4ub(byte r,
byte g,
byte b,
byte a)
Sets the current colour |
void |
glColor4ubv(byte[] v)
Sets the current colour |
void |
glColor4ui(int r,
int g,
int b,
int a)
Sets the current colour |
void |
glColor4uiv(int[] v)
Sets the current colour |
void |
glColor4us(short r,
short g,
short b,
short a)
Sets the current colour |
void |
glColor4usv(short[] v)
Sets the current colour |
void |
glColorMask(boolean red,
boolean green,
boolean blue,
boolean alpha)
Enable and disable writing of frame buffer colour components |
void |
glColorMask(byte red,
byte green,
byte blue,
byte alpha)
Enable and disable writing of frame buffer colour components |
void |
glColorMask(int red,
int green,
int blue,
int alpha)
Enable and disable writing of frame buffer colour components |
void |
glColorMaterial(int face,
int mode)
Cause a material colour to track the current colour |
void |
glColorPointer(int size,
int type,
int stride,
byte[] ptr)
Define an array of colours |
void |
glColorPointer(int size,
int type,
int stride,
double[] ptr)
Define an array of colours |
void |
glColorPointer(int size,
int type,
int stride,
float[] ptr)
Define an array of colours |
void |
glColorPointer(int size,
int type,
int stride,
int[] ptr)
Define an array of colours |
void |
glColorPointer(int size,
int type,
int stride,
short[] ptr)
Define an array of colours |
void |
glCopyPixels(int x,
int y,
int width,
int height,
int buffer)
Copy pixels in the frame buffer |
void |
glCopyTexImage1D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int height)
Creates a one-dimensional texture using framebuffer data to define the texels |
void |
glCopyTexImage2D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int height,
int border)
Creates a two-dimensional texture using framebuffer data to define the texels |
void |
glCopyTexSubImage1D(int target,
int level,
int xoffset,
int x,
int y,
int width)
Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing one-dimensional texture image |
void |
glCopyTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height)
Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing two-dimensional texture image |
void |
glCopyTexSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int x,
int y,
int width,
int height)
Copies a 3D texture sub-image |
void |
glCullFace(int mode)
Specify whether front- or back-facing facets can be culled |
void |
glDeleteLists(int list,
int range)
Delete a contiguous group of display lists |
void |
glDeleteTextures(int n,
int[] textureNames)
Deletes the given texture objects completely. |
void |
glDepthFunc(int func)
Specify the value used for depth buffer comparisons |
void |
glDepthMask(boolean flag)
Enable or disable writing into the depth buffer |
void |
glDepthMask(byte flag)
Enable or disable writing into the depth buffer |
void |
glDepthMask(int flag)
Enable or disable writing into the depth buffer |
void |
glDepthRange(double nearValue,
double farValue)
Specify the mapping z values from normalized device coordinates to window coordinates |
void |
glDisable(int cap)
Turns off the given capability in the OpenGL pipeline |
void |
glDisableClientState(int array)
Disable client-side capabiltity |
void |
glDrawArrays(int mode,
int first,
int count)
Render primitives from array data |
void |
glDrawBuffer(int mode)
Specify which colour buffers are to be drawn into |
void |
glDrawElements(int mode,
int count,
int type,
byte[] indices)
Render primitives from array data |
void |
glDrawElements(int mode,
int count,
int type,
byte[] indices,
int offset)
Render primitives from array data |
void |
glDrawElements(int mode,
int count,
int type,
int[] indices)
Render primitives from array data |
void |
glDrawElements(int mode,
int count,
int type,
int[] indices,
int offset)
Render primitives from array data |
void |
glDrawElements(int mode,
int count,
int type,
short[] indices)
Render primitives from array data |
void |
glDrawElements(int mode,
int count,
int type,
short[] indices,
int offset)
Render primitives from array data |
void |
glDrawPixels(int width,
int height,
int format,
int type,
byte[] pixels)
Write a block of pixels to the frame buffer |
void |
glDrawPixels(int width,
int height,
int format,
int type,
float[] pixels)
Write a block of pixels to the frame buffer |
void |
glDrawPixels(int width,
int height,
int format,
int type,
int[] pixels)
Write a block of pixels to the frame buffer |
void |
glDrawPixels(int width,
int height,
int format,
int type,
short[] pixels)
Write a block of pixels to the frame buffer |
void |
glDrawRangeElements(int mode,
int start,
int end,
int count,
int type,
byte[] indices)
Draw a range of array elements |
void |
glDrawRangeElements(int mode,
int start,
int end,
int count,
int type,
int[] indices)
Draw a range of array elements |
void |
glDrawRangeElements(int mode,
int start,
int end,
int count,
int type,
short[] indices)
Draw a range of array elements |
void |
glEdgeFlag(boolean flag)
Flag edges as either boundary or nonboundary |
void |
glEdgeFlag(byte flag)
Flag edges as either boundary or nonboundary |
void |
glEdgeFlag(int flag)
Flag edges as either boundary or nonboundary |
void |
glEdgeFlagPointer(int stride,
boolean[] pointer)
Define an array of edge flags |
void |
glEdgeFlagv(boolean[] flag)
Flag edges as either boundary or nonboundary using an array of values |
void |
glEdgeFlagv(byte[] flag)
Flag edges as either boundary or nonboundary using an array of values |
void |
glEdgeFlagv(int[] flag)
Flag edges as either boundary or nonboundary using an array of values |
void |
glEnable(int cap)
Enable or disable GL capabilities |
void |
glEnableClientState(int array)
Enable client-side capabiltity |
void |
glEnd()
Marks the end of a vertex-data list |
void |
glEndList()
Terminates the specification of a display list |
void |
glEvalCoord1d(double u)
Evaluate enabled one- and two-dimensional maps |
void |
glEvalCoord1dv(double[] u)
Evaluate enabled one- and two-dimensional maps |
void |
glEvalCoord1f(float u)
Evaluate enabled one- and two-dimensional maps |
void |
glEvalCoord1fv(float[] u)
Evaluate enabled one- and two-dimensional maps |
void |
glEvalCoord2d(double u,
double v)
Evaluate enabled one- and two-dimensional maps |
void |
glEvalCoord2dv(double[] values)
Evaluate enabled one- and two-dimensional maps |
void |
glEvalCoord2f(float u,
float v)
Evaluate enabled one- and two-dimensional maps |
void |
glEvalCoord2fv(float[] values)
Evaluate enabled one- and two-dimensional maps |
void |
glEvalMesh1(int mode,
int p1,
int p2)
Compute a one-dimensional grid of points |
void |
glEvalMesh2(int mode,
int i1,
int i2,
int j1,
int j2)
Compute a two-dimensional grid of points |
void |
glEvalPoint1(int i)
Generate and evaluate a single point in a mesh |
void |
glEvalPoint2(int i,
int j)
Generate and evaluate a single point in a mesh |
void |
glFeedbackBuffer(int size,
int type,
float[] buffer)
Controls feedback mode |
void |
glFinish()
Block until all GL execution is complete |
void |
glFlush()
Force execution of GL commands in finite time |
void |
glFogf(int pname,
float param)
Specify fog parameters |
void |
glFogfv(int pname,
float[] params)
Specify fog parameters |
void |
glFogi(int pname,
int param)
Specify fog parameters |
void |
glFogiv(int pname,
int[] params)
Specify fog parameters |
void |
glFrontFace(int mode)
Define front- and back-facing polygons |
void |
glFrustum(double left,
double right,
double bottom,
double top,
double nearValue,
double farValue)
Multiply the current matrix by a perspective matrix |
int |
glGenLists(int range)
Generate a contiguous set of empty display lists |
void |
glGenTextures(int n,
int[] textureNames)
Returns the desired quantity of current unused names for texture objects that can be used with glBindTexture. |
void |
glGetBooleanv(int pname,
boolean[] params)
Return the value or values of a specified parameter |
void |
glGetClipPlane(int plane,
double[] equation)
Return the co-efficients of the specified clipping plane |
void |
glGetDoublev(int pname,
double[] params)
Return the value or values of a specified parameter |
int |
glGetError()
Return error information |
void |
glGetFloatv(int pname,
float[] params)
Return the value or values of a specified parameter |
void |
glGetIntegerv(int pname,
int[] params)
Return the value or values of a specified parameter |
void |
glGetLightfv(int light,
int pname,
float[] params)
Return light source parameter values |
void |
glGetLightiv(int light,
int pname,
int[] params)
Return light source parameter values |
void |
glGetMapdv(int target,
int query,
double[] v)
Return evaluator parameters |
void |
glGetMapfv(int target,
int query,
float[] v)
Return evaluator parameters |
void |
glGetMapiv(int target,
int query,
int[] v)
Return evaluator parameters |
void |
glGetMaterialfv(int face,
int pname,
float[] params)
Return material parameters |
void |
glGetMaterialiv(int face,
int pname,
int[] params)
Return material parameters |
void |
glGetPixelMapfv(int map,
float[] values)
Return the specified pixel map |
void |
glGetPixelMapuiv(int map,
int[] values)
Return the specified pixel map |
void |
glGetPixelMapusv(int map,
short[] values)
Return the specified pixel map |
void |
glGetPolygonStipple(byte[] mask)
Return the polygon stipple pattern |
java.lang.String |
glGetString(int name)
Returns a string describing the current GL connection |
void |
glGetTexEnvfv(int target,
int pname,
float[] params)
Return texture environment parameters |
void |
glGetTexEnviv(int target,
int pname,
int[] params)
Return texture environment parameters |
void |
glGetTexGendv(int coord,
int pname,
double[] params)
Return texture coordinate generation parameters |
void |
glGetTexGenfv(int coord,
int pname,
float[] params)
Return texture coordinate generation parameters |
void |
glGetTexGeniv(int coord,
int pname,
int[] params)
Return texture coordinate generation parameters |
void |
glGetTexImage(int target,
int level,
int format,
int type,
byte[] pixels)
Return a texture image |
void |
glGetTexImage(int target,
int level,
int format,
int type,
float[] pixels)
Return a texture image |
void |
glGetTexImage(int target,
int level,
int format,
int type,
int[] pixels)
Return a texture image |
void |
glGetTexImage(int target,
int level,
int format,
int type,
short[] pixels)
Return a texture image |
void |
glGetTexLevelParameterfv(int target,
int level,
int pname,
float[] params)
Return texture parameter values for a specific level of detail |
void |
glGetTexLevelParameteriv(int target,
int level,
int pname,
int[] params)
Return texture parameter values for a specific level of detail |
void |
glGetTexParameterfv(int target,
int pname,
float[] params)
Return texture parameter values |
void |
glGetTexParameteriv(int target,
int pname,
int[] params)
Return texture parameter values |
void |
glHint(int target,
int mode)
Specify implementation-specific hints |
void |
glIndexd(double c)
Set the current colour index |
void |
glIndexdv(double[] c)
Set the current colour index |
void |
glIndexf(float c)
Set the current colour index |
void |
glIndexfv(float[] c)
Set the current colour index |
void |
glIndexi(int c)
Set the current colour index |
void |
glIndexiv(int[] c)
Set the current colour index |
void |
glIndexMask(int mask)
Control the writing of individual bits in the colour index buffers |
void |
glIndexPointer(int type,
int stride,
byte[] ptr)
Defines an array of colour indices |
void |
glIndexPointer(int type,
int stride,
double[] ptr)
Defines an array of colour indices |
void |
glIndexPointer(int type,
int stride,
float[] ptr)
Defines an array of colour indices |
void |
glIndexPointer(int type,
int stride,
int[] ptr)
Defines an array of colour indices |
void |
glIndexPointer(int type,
int stride,
short[] ptr)
Defines an array of colour indices |
void |
glIndexs(short c)
Set the current colour index |
void |
glIndexsv(short[] c)
Set the current colour index |
void |
glIndexub(byte c)
Set the current colour index |
void |
glIndexubv(byte[] c)
Set the current colour index |
void |
glInitNames()
Initialize the name stack |
void |
glInterleavedArrays(int format,
int stride,
float[] pointer)
Initializes vertex, colour and normal arrays for complex interleaving |
boolean |
glIsEnabled(int cap)
Test whether or not a capability is enabled |
boolean |
glIsList(int list)
Determine if a name corresponds to a display list |
boolean |
glIsTexture(int texture)
Determine if a name corresponds to a texture |
void |
glLightf(int light,
int pname,
float param)
Set light source parameters |
void |
glLightfv(int light,
int pname,
float[] param)
Set the lighting model parameters |
void |
glLighti(int light,
int pname,
int param)
Set light source parameters |
void |
glLightiv(int light,
int pname,
int[] param)
Set the lighting model parameters |
void |
glLightModelf(int pname,
float param)
Set the lighting model parameters |
void |
glLightModelfv(int pname,
float[] params)
Set the lighting model parameters |
void |
glLightModeli(int pname,
int param)
Set the lighting model parameters |
void |
glLightModeliv(int pname,
int[] params)
Set the lighting model parameters |
void |
glLineStipple(int factor,
short pattern)
Specify the line stipple pattern |
void |
glLineWidth(float width)
Specify the width of rasterized lines |
void |
glListBase(int base)
Set the display list base for glCallLists |
void |
glLoadIdentity()
Replace the current matrix with the identity matrix |
void |
glLoadMatrixd(double[] m)
Replace the current matrix with an arbitrary matrix |
void |
glLoadMatrixf(float[] m)
Replace the current matrix with an arbitrary matrix |
void |
glLoadName(int name)
Load a name onto the name stack |
void |
glLogicOp(int opcode)
Specify a logical pixel operations for colour index rendering |
void |
glMap1d(int target,
double u1,
double u2,
int stride,
int order,
double[][] points)
Define a one-dimensional evaluator |
void |
glMap1f(int target,
float u1,
float u2,
int stride,
int order,
float[][] points)
Define a one-dimensional evaluator |
void |
glMap2d(int target,
float u1,
float u2,
int ustride,
int uorder,
float v1,
float v2,
int vstride,
int vorder,
double[][][] points)
Define a two-dimensional evaluator |
void |
glMap2f(int target,
float u1,
float u2,
int ustride,
int uorder,
float v1,
float v2,
int vstride,
int vorder,
float[][][] points)
Define a two-dimensional evaluator |
void |
glMapGrid1d(int un,
double u1,
double u2)
Define a one-dimensional mesh |
void |
glMapGrid1f(int un,
float u1,
float u2)
Define a one-dimensional mesh |
void |
glMapGrid2d(int un,
double u1,
double u2,
int vn,
double v1,
double v2)
Define a two-dimensional mesh |
void |
glMapGrid2f(int un,
float u1,
float u2,
int vn,
float v1,
float v2)
Define a two-dimensional mesh |
void |
glMaterialf(int face,
int pname,
float param)
Specify material parameters for the lighting model |
void |
glMaterialfv(int face,
int pname,
float[] params)
Specify material parameters for the lighting model |
void |
glMateriali(int face,
int pname,
int param)
Specify material parameters for the lighting model |
void |
glMaterialiv(int face,
int pname,
int[] params)
Specify material parameters for the lighting model |
void |
glMatrixMode(int mode)
Specify which matrix is the current matrix |
void |
glMultMatrixd(double[] m)
Multiply the current matrix by an arbitrary matrix |
void |
glMultMatrixd(double[][] m)
Multiply the current matrix by an arbitrary matrix |
void |
glMultMatrixf(float[] m)
Multiply the current matrix by an arbitrary matrix |
void |
glMultMatrixf(float[][] m)
Multiply the current matrix by an arbitrary matrix |
void |
glNewList(int list,
int mode)
Create or replace a display list |
void |
glNormal3b(byte nx,
byte ny,
byte nz)
Set the current normal vector |
void |
glNormal3bv(byte[] v)
Set the current normal vector |
void |
glNormal3d(double nx,
double ny,
double nz)
Set the current normal vector |
void |
glNormal3dv(double[] v)
Set the current normal vector |
void |
glNormal3f(float nx,
float ny,
float nz)
Set the current normal vector |
void |
glNormal3fv(float[] v)
Set the current normal vector |
void |
glNormal3i(int nx,
int ny,
int nz)
Set the current normal vector |
void |
glNormal3iv(int[] v)
Set the current normal vector |
void |
glNormal3s(short nx,
short ny,
short nz)
Set the current normal vector |
void |
glNormal3sv(short[] v)
Set the current normal vector |
void |
glNormalPointer(int type,
int stride,
byte[] ptr)
Defines an array of normals |
void |
glNormalPointer(int type,
int stride,
double[] ptr)
Defines an array of normals |
void |
glNormalPointer(int type,
int stride,
float[] ptr)
Defines an array of normals |
void |
glNormalPointer(int type,
int stride,
int[] ptr)
Defines an array of normals |
void |
glNormalPointer(int type,
int stride,
short[] ptr)
Defines an array of normals |
void |
glOrtho(double left,
double right,
double bottom,
double top,
double nearValue,
double farValue)
Multiply the current matrix by an orthographic matrix |
void |
glPassThrough(float token)
Place a marker in the feedback buffer |
void |
glPixelMapfv(int map,
int mapsize,
float[] values)
Set up pixel transfer maps |
void |
glPixelMapuiv(int map,
int mapsize,
int[] values)
Set up pixel transfer maps |
void |
glPixelMapusv(int map,
int mapsize,
short[] values)
Set up pixel transfer maps |
void |
glPixelStoref(int pname,
float param)
Set pixel storage maps |
void |
glPixelStorei(int pname,
int param)
Set pixel storage maps |
void |
glPixelTransferf(int pname,
float param)
Set pixel transfer modes |
void |
glPixelTransferi(int pname,
int param)
Set pixel transfer modes |
void |
glPixelZoom(float xfactor,
float yfactor)
Specify the pixel zoom factors |
void |
glPointSize(float size)
Specify the diameter of rasterized points |
void |
glPolygonMode(int face,
int mode)
Select a polygon rasterization mode |
void |
glPolygonOffset(float factor,
float units)
When enabled, the depth value of each fragment is added to a calculated offset value. |
void |
glPolygonStipple(byte[] mask)
Set the polygon stippling pattern |
void |
glPopAttrib()
Pushes the given attribute onto the attribute stack |
void |
glPopClientAttrib()
This pushes the given attribute onto the client attribute stack |
void |
glPopMatrix()
Pop the current matrix stack |
void |
glPopName()
Pop the name stack |
void |
glPrioritizeTextures(int n,
int[] textures,
float[] priorities)
Assigns priorities to texture objects in a given texture array. |
void |
glPushAttrib(int mask)
Push the attribute stack |
void |
glPushClientAttrib(int mask)
This pushes the desired attributes onto the client attribute stack |
void |
glPushMatrix()
Push the current matrix stack |
void |
glPushName(int name)
Push the name stack |
void |
glRasterPos2d(double x,
double y)
Specify the raster position for pixel |
void |
glRasterPos2dv(double[] coords)
Specify the raster position for pixel |
void |
glRasterPos2f(float x,
float y)
Specify the raster position for pixel |
void |
glRasterPos2fv(float[] coords)
Specify the raster position for pixel |
void |
glRasterPos2i(int x,
int y)
Specify the raster position for pixel |
void |
glRasterPos2iv(int[] coords)
Specify the raster position for pixel |
void |
glRasterPos2s(short x,
short y)
Specify the raster position for pixel |
void |
glRasterPos2sv(short[] coords)
Specify the raster position for pixel |
void |
glRasterPos3d(double x,
double y,
double z)
Specify the raster position for pixel |
void |
glRasterPos3dv(double[] coords)
Specify the raster position for pixel |
void |
glRasterPos3f(float x,
float y,
float z)
Specify the raster position for pixel |
void |
glRasterPos3fv(float[] coords)
Specify the raster position for pixel |
void |
glRasterPos3i(int x,
int y,
int z)
Specify the raster position for pixel |
void |
glRasterPos3iv(int[] coords)
Specify the raster position for pixel |
void |
glRasterPos3s(short x,
short y,
short z)
Specify the raster position for pixel |
void |
glRasterPos3sv(short[] coords)
Specify the raster position for pixel |
void |
glRasterPos4d(double x,
double y,
double z,
double w)
Specify the raster position for pixel |
void |
glRasterPos4dv(double[] coords)
Specify the raster position for pixel |
void |
glRasterPos4f(float x,
float y,
float z,
float w)
Specify the raster position for pixel |
void |
glRasterPos4fv(float[] coords)
Specify the raster position for pixel |
void |
glRasterPos4i(int x,
int y,
int z,
int w)
Specify the raster position for pixel |
void |
glRasterPos4iv(int[] coords)
Specify the raster position for pixel |
void |
glRasterPos4s(short x,
short y,
short z,
short w)
Specify the raster position for pixel |
void |
glRasterPos4sv(short[] coords)
Specify the raster position for pixel |
void |
glReadBuffer(int mode)
Select a colour buffer source for pixels |
void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
byte[] pixels)
Read a block of pixels from the frame buffer |
void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
float[] pixels)
Read a block of pixels from the frame buffer |
void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
int[] pixels)
Read a block of pixels from the frame buffer |
void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
short[] pixels)
Read a block of pixels from the frame buffer |
void |
glRectd(double x1,
double y1,
double x2,
double y2)
Draw a rectangle |
void |
glRectdv(double[] v1,
double[] v2)
Draw a rectangle |
void |
glRectf(float x1,
float y1,
float x2,
float y2)
Draw a rectangle |
void |
glRectfv(float[] v1,
float[] v2)
Draw a rectangle |
void |
glRecti(int x1,
int y1,
int x2,
int y2)
Draw a rectangle |
void |
glRectiv(int[] v1,
int[] v2)
Draw a rectangle |
void |
glRects(short x1,
short y1,
short x2,
short y2)
Draw a rectangle |
void |
glRectsv(short[] v1,
short[] v2)
Draw a rectangle |
int |
glRenderMode(int mode)
Set rasterization mode |
void |
glRotated(double angle,
double x,
double y,
double z)
Multiply the current matrix by a rotation matrix |
void |
glRotatef(float angle,
float x,
float y,
float z)
Multiply the current matrix by a rotation matrix |
void |
glScaled(double x,
double y,
double z)
Multiply the current matrix by a general scaling matrix |
void |
glScalef(float x,
float y,
float z)
Multiply the current matrix by a general scaling matrix |
void |
glScissor(int x,
int y,
int width,
int height)
Define the scissor box |
void |
glSelectBuffer(int size,
int[] buffer)
Establish a buffer for selection mode values. |
void |
glShadeModel(int mode)
Select flat or smooth shading |
void |
glStencilFunc(int func,
int ref,
int mask)
Set function and reference value for stencil testing |
void |
glStencilMask(int mask)
Control the writing of individual bits in the stencil planes |
void |
glStencilOp(int fail,
int zfail,
int zpass)
Set stencil test actions |
void |
glTexCoord1d(double s)
Set the current texture coordinates |
void |
glTexCoord1dv(double[] v)
Set the current texture coordinates |
void |
glTexCoord1f(float s)
Set the current texture coordinates |
void |
glTexCoord1fv(float[] v)
Set the current texture coordinates |
void |
glTexCoord1i(int s)
Set the current texture coordinates |
void |
glTexCoord1iv(int[] v)
Set the current texture coordinates |
void |
glTexCoord1s(short s)
Set the current texture coordinates |
void |
glTexCoord1sv(short[] v)
Set the current texture coordinates |
void |
glTexCoord2d(double s,
double t)
Set the current texture coordinates |
void |
glTexCoord2dv(double[] v)
Set the current texture coordinates |
void |
glTexCoord2f(float s,
float t)
Set the current texture coordinates |
void |
glTexCoord2fv(float[] v)
Set the current texture coordinates |
void |
glTexCoord2i(int s,
int t)
Set the current texture coordinates |
void |
glTexCoord2iv(int[] v)
Set the current texture coordinates |
void |
glTexCoord2s(short s,
short t)
Set the current texture coordinates |
void |
glTexCoord2sv(short[] v)
Set the current texture coordinates |
void |
glTexCoord3d(double s,
double t,
double r)
Set the current texture coordinates |
void |
glTexCoord3dv(double[] v)
Set the current texture coordinates |
void |
glTexCoord3f(float s,
float t,
float r)
Set the current texture coordinates |
void |
glTexCoord3fv(float[] v)
Set the current texture coordinates |
void |
glTexCoord3i(int s,
int t,
int r)
Set the current texture coordinates |
void |
glTexCoord3iv(int[] v)
Set the current texture coordinates |
void |
glTexCoord3s(short s,
short t,
short r)
Set the current texture coordinates |
void |
glTexCoord3sv(short[] v)
Set the current texture coordinates |
void |
glTexCoord4d(double s,
double t,
double r,
double q)
Set the current texture coordinates |
void |
glTexCoord4dv(double[] v)
Set the current texture coordinates |
void |
glTexCoord4f(float s,
float t,
float r,
float q)
Set the current texture coordinates |
void |
glTexCoord4fv(float[] v)
Set the current texture coordinates |
void |
glTexCoord4i(int s,
int t,
int r,
int q)
Set the current texture coordinates |
void |
glTexCoord4iv(int[] v)
Set the current texture coordinates |
void |
glTexCoord4s(short s,
short t,
short r,
short q)
Set the current texture coordinates |
void |
glTexCoord4sv(short[] v)
Set the current texture coordinates |
void |
glTexCoordPointer(int size,
int type,
int stride,
double[] ptr)
Defines an array of texture coordinates |
void |
glTexCoordPointer(int size,
int type,
int stride,
float[] ptr)
Defines an array of texture coordinates |
void |
glTexCoordPointer(int size,
int type,
int stride,
int[] ptr)
Defines an array of texture coordinates |
void |
glTexCoordPointer(int size,
int type,
int stride,
short[] ptr)
Defines an array of texture coordinates |
void |
glTexEnvf(int target,
int pname,
float param)
Set texture environment parameters |
void |
glTexEnvfv(int target,
int pname,
float[] param)
Set texture environment parameters |
void |
glTexEnvi(int target,
int pname,
int param)
Set texture environment parameters |
void |
glTexEnviv(int target,
int pname,
int[] param)
Set texture environment parameters |
void |
glTexGend(int coord,
int pname,
double param)
Control the generation of texture coordinates |
void |
glTexGendv(int coord,
int pname,
double[] param)
Control the generation of texture coordinates |
void |
glTexGenf(int coord,
int pname,
float param)
Control the generation of texture coordinates |
void |
glTexGenfv(int coord,
int pname,
float[] param)
Control the generation of texture coordinates |
void |
glTexGeni(int coord,
int pname,
int param)
Control the generation of texture coordinates |
void |
glTexGeniv(int coord,
int pname,
int[] param)
Control the generation of texture coordinates |
void |
glTexImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
byte[] pixels)
Specifies a one-dimensional texture map |
void |
glTexImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
byte[][] pixels)
Specifies a one-dimensional texture map using slightly more sensible array definitions. |
void |
glTexImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
float[] pixels)
Specifies a one-dimensional texture map |
void |
glTexImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
float[][] pixels)
Specifies a one-dimensional texture map using slightly more sensible array definitions. |
void |
glTexImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
int[] pixels)
Specifies a one-dimensional texture map |
void |
glTexImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
int[][] pixels)
Specifies a one-dimensional texture map using slightly more sensible array definitions. |
void |
glTexImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
short[] pixels)
Specifies a one-dimensional texture map |
void |
glTexImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
short[][] pixels)
Specifies a one-dimensional texture map using slightly more sensible array definitions. |
void |
glTexImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
byte[] pixels)
Specifies a two-dimensional texture map |
void |
glTexImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
byte[][][] pixels)
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. |
void |
glTexImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
float[] pixels)
Specifies a two-dimensional texture map |
void |
glTexImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
float[][][] pixels)
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. |
void |
glTexImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
int[] pixels)
Specifies a two-dimensional texture map |
void |
glTexImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
int[][][] pixels)
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. |
void |
glTexImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
short[] pixels)
Specifies a two-dimensional texture map |
void |
glTexImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
short[][][] pixels)
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. |
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
byte[] pixels)
Specifies a 3D texture image |
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
byte[][][][] pixels)
Specifies a 3D texture image |
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
float[] pixels)
Specifies a 3D texture image |
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
float[][][][] pixels)
Specifies a 3D texture image |
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
int[] pixels)
Specifies a 3D texture image |
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
int[][][][] pixels)
Specifies a 3D texture image |
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
short[] pixels)
Specifies a 3D texture image |
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
short[][][][] pixels)
Specifies a 3D texture image |
void |
glTexParameterf(int target,
int pname,
float param)
Set texture parameters |
void |
glTexParameterfv(int target,
int pname,
float[] param)
Set texture parameters |
void |
glTexParameteri(int target,
int pname,
int param)
Set texture parameters |
void |
glTexParameteriv(int target,
int pname,
int[] param)
Set texture parameters |
void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
byte[] pixels)
Specifies a one-dimensional texture sub-image |
void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
float[] pixels)
Specifies a one-dimensional texture sub-image |
void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
int[] pixels)
Specifies a one-dimensional texture sub-image |
void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
short[] pixels)
Specifies a one-dimensional texture sub-image |
void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
byte[] pixels)
Specifies a two-dimensional texture sub-image |
void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
float[] pixels)
Specifies a two-dimensional texture sub-image |
void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
int[] pixels)
Specifies a two-dimensional texture sub-image |
void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
short[] pixels)
Specifies a two-dimensional texture sub-image |
void |
glTexSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
byte[] pixels)
Specifies a three-dimensional texture sub-image |
void |
glTexSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
float[] pixels)
Specifies a three-dimensional texture sub-image |
void |
glTexSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int[] pixels)
Specifies a three-dimensional texture sub-image |
void |
glTexSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
short[] pixels)
Specifies a three-dimensional texture sub-image |
void |
glTranslated(double x,
double y,
double z)
Multiply the current matrix by a translation matrix |
void |
glTranslatef(float x,
float y,
float z)
Multiply the current matrix by a translation matrix |
void |
glVertex2d(double x,
double y)
Specify a vertex |
void |
glVertex2dv(double[] v)
Specify a vertex |
void |
glVertex2f(float x,
float y)
Specify a vertex |
void |
glVertex2fv(float[] v)
Specify a vertex |
void |
glVertex2i(int x,
int y)
Specify a vertex |
void |
glVertex2iv(int[] v)
Specify a vertex |
void |
glVertex2s(short x,
short y)
Specify a vertex |
void |
glVertex2sv(short[] v)
Specify a vertex |
void |
glVertex3d(double x,
double y,
double z)
Specify a vertex |
void |
glVertex3dv(double[] v)
Specify a vertex |
void |
glVertex3f(float x,
float y,
float z)
Specify a vertex |
void |
glVertex3fv(float[] v)
Specify a vertex |
void |
glVertex3i(int x,
int y,
int z)
Specify a vertex |
void |
glVertex3iv(int[] v)
Specify a vertex |
void |
glVertex3s(short x,
short y,
short z)
Specify a vertex |
void |
glVertex3sv(short[] z)
Specify a vertex |
void |
glVertex4d(double x,
double y,
double z,
double w)
Specify a vertex |
void |
glVertex4dv(double[] v)
Specify a vertex |
void |
glVertex4f(float x,
float y,
float z,
float w)
Specify a vertex |
void |
glVertex4fv(float[] v)
Specify a vertex |
void |
glVertex4i(int x,
int y,
int z,
int w)
Specify a vertex |
void |
glVertex4iv(int[] v)
Specify a vertex |
void |
glVertex4s(short x,
short y,
short z,
short w)
Specify a vertex |
void |
glVertex4sv(short[] v)
Specify a vertex |
void |
glVertexPointer(int size,
int type,
int stride,
double[] ptr)
Define an array of vertex data |
void |
glVertexPointer(int size,
int type,
int stride,
float[] ptr)
Define an array of vertex data |
void |
glVertexPointer(int size,
int type,
int stride,
int[] ptr)
Define an array of vertex data |
void |
glVertexPointer(int size,
int type,
int stride,
short[] ptr)
Define an array of vertex data |
void |
glViewport(GLDrawable component,
int x,
int y,
int width,
int height)
Set the viewport |
void |
hint(int target,
int mode)
Specify implementation-specific hints |
void |
index(byte c)
Set the current colour index |
void |
index(byte[] c)
Set the current colour index |
void |
index(double c)
Set the current colour index |
void |
index(double[] c)
Set the current colour index |
void |
index(float c)
Set the current colour index |
void |
index(float[] c)
Set the current colour index |
void |
index(int c)
Set the current colour index |
void |
index(int[] c)
Set the current colour index |
void |
index(short c)
Set the current colour index |
void |
index(short[] c)
Set the current colour index |
void |
indexMask(int mask)
Control the writing of individual bits in the colour index buffers |
void |
initNames()
Initialize the name stack |
boolean |
isEnabled(int cap)
Test whether or not a capability is enabled |
boolean |
isList(int list)
Determine if a name corresponds to a display list |
boolean |
isTexture(int texture)
Determine if a name corresponds to a texture |
void |
light(int light,
int pname,
float param)
Set light source parameters |
void |
light(int light,
int pname,
float[] param)
Set the lighting model parameters |
void |
light(int light,
int pname,
int param)
Set light source parameters |
void |
light(int light,
int pname,
int[] param)
Set the lighting model parameters |
void |
lightModel(int pname,
float param)
Set the lighting model parameters |
void |
lightModel(int pname,
float[] params)
Set the lighting model parameters |
void |
lightModel(int pname,
int param)
Set the lighting model parameters |
void |
lightModel(int pname,
int[] params)
Set the lighting model parameters |
void |
lineStipple(int factor,
short pattern)
Specify the line stipple pattern |
void |
lineWidth(float width)
Specify the width of rasterized lines |
void |
listBase(int base)
Set the display list base for glCallLists |
void |
loadIdentity()
Replace the current matrix with the identity matrix |
void |
loadMatrix(double[] m)
Replace the current matrix with an arbitrary matrix |
void |
loadMatrix(float[] m)
Replace the current matrix with an arbitrary matrix |
void |
loadName(int name)
Load a name onto the name stack |
void |
logicOp(int opcode)
Specify a logical pixel operations for colour index rendering |
void |
mapGrid(int un,
double u1,
double u2)
Define a one-dimensional mesh |
void |
mapGrid(int un,
double u1,
double u2,
int vn,
double v1,
double v2)
Define a two-dimensional mesh |
void |
mapGrid(int un,
float u1,
float u2)
Define a one-dimensional mesh |
void |
mapGrid(int un,
float u1,
float u2,
int vn,
float v1,
float v2)
Define a two-dimensional mesh |
void |
material(int face,
int pname,
float param)
Specify material parameters for the lighting model |
void |
material(int face,
int pname,
float[] params)
Specify material parameters for the lighting model |
void |
material(int face,
int pname,
int param)
Specify material parameters for the lighting model |
void |
material(int face,
int pname,
int[] params)
Specify material parameters for the lighting model |
void |
matrixMode(int mode)
Specify which matrix is the current matrix |
void |
multMatrix(double[] m)
Multiply the current matrix by an arbitrary matrix |
void |
multMatrix(double[][] m)
Multiply the current matrix by an arbitrary matrix |
void |
multMatrix(float[] m)
Multiply the current matrix by an arbitrary matrix |
void |
multMatrix(float[][] m)
Multiply the current matrix by an arbitrary matrix |
void |
newList(int list,
int mode)
Create or replace a display list |
void |
normal(byte[] v)
Set the current normal vector |
void |
normal(byte nx,
byte ny,
byte nz)
Set the current normal vector |
void |
normal(double[] v)
Set the current normal vector |
void |
normal(double nx,
double ny,
double nz)
Set the current normal vector |
void |
normal(float[] v)
Set the current normal vector |
void |
normal(float nx,
float ny,
float nz)
Set the current normal vector |
void |
normal(int[] v)
Set the current normal vector |
void |
normal(int nx,
int ny,
int nz)
Set the current normal vector |
void |
normal(short[] v)
Set the current normal vector |
void |
normal(short nx,
short ny,
short nz)
Set the current normal vector |
void |
ortho(double left,
double right,
double bottom,
double top,
double nearValue,
double farValue)
Multiply the current matrix by an orthographic matrix |
void |
passThrough(float token)
Place a marker in the feedback buffer |
void |
pixelMap(int map,
int mapsize,
float[] values)
Set up pixel transfer maps |
void |
pixelMap(int map,
int mapsize,
int[] values)
Set up pixel transfer maps |
void |
pixelMap(int map,
int mapsize,
short[] values)
Set up pixel transfer maps |
void |
pixelStore(int pname,
float param)
Set pixel storage maps |
void |
pixelStore(int pname,
int param)
Set pixel storage maps |
void |
pixelTransfer(int pname,
float param)
Set pixel transfer modes |
void |
pixelTransfer(int pname,
int param)
Set pixel transfer modes |
void |
pixelZoom(float xfactor,
float yfactor)
Specify the pixel zoom factors |
void |
pointSize(float size)
Specify the diameter of rasterized points |
void |
polygonMode(int face,
int mode)
Select a polygon rasterization mode |
void |
polygonOffset(float factor,
float units)
When enabled, the depth value of each fragment is added to a calculated offset value. |
void |
polygonStipple(byte[] mask)
Set the polygon stippling pattern |
void |
popAttrib()
Pushes the given attribute onto the attribute stack |
void |
popClientAttrib()
This pushes the given attribute onto the client attribute stack |
void |
popMatrix()
Pop the current matrix stack |
void |
popName()
Pop the name stack |
void |
prioritizeTextures(int n,
int[] textures,
float[] priorities)
Assigns priorities to texture objects in a given texture array. |
void |
pushAttrib(int mask)
Push the attribute stack |
void |
pushClientAttrib(int mask)
This pushes the desired attributes onto the client attribute stack |
void |
pushMatrix()
Push the current matrix stack |
void |
pushName(int name)
Push the name stack |
void |
rasterPos(double[] ary)
Polymorphic definition for glRasterPos[234]dv |
void |
rasterPos(double x,
double y)
Polymorphic definition for glRasterPos2d |
void |
rasterPos(double x,
double y,
double z)
Polymorphic definition for glRasterPos3d |
void |
rasterPos(double x,
double y,
double z,
double w)
Polymorphic definition for glRasterPos4d |
void |
rasterPos(float[] ary)
Polymorphic definition for glRasterPos[234]fv |
void |
rasterPos(float x,
float y)
Polymorphic definition for glRasterPos2f |
void |
rasterPos(float x,
float y,
float z)
Polymorphic definition for glRasterPos3f |
void |
rasterPos(float x,
float y,
float z,
float w)
Polymorphic definition for glRasterPos4f |
void |
rasterPos(int[] ary)
Polymorphic definition for glRasterPos[234]iv |
void |
rasterPos(int x,
int y)
Polymorphic definition for glRasterPos2i |
void |
rasterPos(int x,
int y,
int z)
Polymorphic definition for glRasterPos3i |
void |
rasterPos(int x,
int y,
int z,
int w)
Polymorphic definition for glRasterPos4i |
void |
rasterPos(short[] ary)
Polymorphic definition for glRasterPos[234]sv |
void |
rasterPos(short x,
short y)
Polymorphic definition for glRasterPos2s |
void |
rasterPos(short x,
short y,
short z)
Polymorphic definition for glRasterPos3s |
void |
rasterPos(short x,
short y,
short z,
short w)
Polymorphic definition for glRasterPos4s |
void |
readBuffer(int mode)
Select a colour buffer source for pixels |
void |
rect(double[] v1,
double[] v2)
Draw a rectangle |
void |
rect(double x1,
double y1,
double x2,
double y2)
Draw a rectangle |
void |
rect(float[] v1,
float[] v2)
Draw a rectangle |
void |
rect(float x1,
float y1,
float x2,
float y2)
Draw a rectangle |
void |
rect(int[] v1,
int[] v2)
Draw a rectangle |
void |
rect(int x1,
int y1,
int x2,
int y2)
Draw a rectangle |
void |
rect(short[] v1,
short[] v2)
Draw a rectangle |
void |
rect(short x1,
short y1,
short x2,
short y2)
Draw a rectangle |
int |
renderMode(int mode)
Set rasterization mode |
void |
rotate(double angle,
double x,
double y,
double z)
Multiply the current matrix by a rotation matrix |
void |
rotate(float angle,
float x,
float y,
float z)
Multiply the current matrix by a rotation matrix |
void |
scale(double x,
double y,
double z)
Multiply the current matrix by a general scaling matrix |
void |
scale(float x,
float y,
float z)
Multiply the current matrix by a general scaling matrix |
void |
scissor(int x,
int y,
int width,
int height)
Define the scissor box |
void |
selectBuffer(int size,
int[] buffer)
Establish a buffer for selection mode values. |
void |
setMode(int mode)
Signifies the operating mode of any implementations of this interface, ie, summary or verbose |
void |
setParent(GL parent)
Sets the parent interface. |
void |
shadeModel(int mode)
Select flat or smooth shading |
void |
stencilFunc(int func,
int ref,
int mask)
Set function and reference value for stencil testing |
void |
stencilMask(int mask)
Control the writing of individual bits in the stencil planes |
void |
stencilOp(int fail,
int zfail,
int zpass)
Set stencil test actions |
void |
texCoord(double s)
Polymorphic method for glTexCoord1d |
void |
texCoord(double[] ary)
Polymorphic method for glTexCoord[1234]dv |
void |
texCoord(double s,
double t)
Polymorphic method for glTexCoord2d |
void |
texCoord(double s,
double t,
double r)
Polymorphic method for glTexCoord3d |
void |
texCoord(double s,
double t,
double r,
double q)
Polymorphic method for glTexCoord4d |
void |
texCoord(float s)
Polymorphic method for glTexCoord1f |
void |
texCoord(float[] ary)
Polymorphic method for glTexCoord[1234]fv |
void |
texCoord(float s,
float t)
Polymorphic method for glTexCoord2f |
void |
texCoord(float s,
float t,
float r)
Polymorphic method for glTexCoord3f |
void |
texCoord(float s,
float t,
float r,
float q)
Polymorphic method for glTexCoord4f |
void |
texCoord(int s)
Polymorphic method for glTexCoord1i |
void |
texCoord(int[] ary)
Polymorphic method for glTexCoord[1234]iv |
void |
texCoord(int s,
int t)
Polymorphic method for glTexCoord2i |
void |
texCoord(int s,
int t,
int r)
Polymorphic method for glTexCoord3i |
void |
texCoord(int s,
int t,
int r,
int q)
Polymorphic method for glTexCoord4i |
void |
texCoord(short s)
Polymorphic method for glTexCoord1s |
void |
texCoord(short[] ary)
Polymorphic method for glTexCoord[1234]sv |
void |
texCoord(short s,
short t)
Polymorphic method for glTexCoord2s |
void |
texCoord(short s,
short t,
short r)
Polymorphic method for glTexCoord3s |
void |
texCoord(short s,
short t,
short r,
short q)
Polymorphic method for glTexCoord4s |
void |
texEnv(int target,
int pname,
float param)
Set texture environment parameters |
void |
texEnv(int target,
int pname,
float[] param)
Set texture environment parameters |
void |
texEnv(int target,
int pname,
int param)
Set texture environment parameters |
void |
texEnv(int target,
int pname,
int[] param)
Set texture environment parameters |
void |
texGen(int coord,
int pname,
double param)
Control the generation of texture coordinates |
void |
texGen(int coord,
int pname,
double[] param)
Control the generation of texture coordinates |
void |
texGen(int coord,
int pname,
float param)
Control the generation of texture coordinates |
void |
texGen(int coord,
int pname,
float[] param)
Control the generation of texture coordinates |
void |
texGen(int coord,
int pname,
int param)
Control the generation of texture coordinates |
void |
texGen(int coord,
int pname,
int[] param)
Control the generation of texture coordinates |
void |
texImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
byte[] pixels)
Specifies a one-dimensional texture map |
void |
texImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
float[] pixels)
Specifies a one-dimensional texture map |
void |
texImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
int[] pixels)
Specifies a one-dimensional texture map |
void |
texImage1D(int target,
int level,
int components,
int width,
int border,
int format,
int type,
short[] pixels)
Specifies a one-dimensional texture map |
void |
texImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
byte[] pixels)
Specifies a two-dimensional texture map |
void |
texImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
float[] pixels)
Specifies a two-dimensional texture map |
void |
texImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
int[] pixels)
Specifies a two-dimensional texture map |
void |
texImage2D(int target,
int level,
int components,
int width,
int height,
int border,
int format,
int type,
short[] pixels)
Specifies a two-dimensional texture map |
void |
texImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
byte[] pixels)
Specifies a 3D texture image |
void |
texImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
byte[][][][] pixels)
Specifies a 3D texture image |
void |
texImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
float[] pixels)
Specifies a 3D texture image |
void |
texImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
float[][][][] pixels)
Specifies a 3D texture image |
void |
texImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
int[] pixels)
Specifies a 3D texture image |
void |
texImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
int[][][][] pixels)
Specifies a 3D texture image |
void |
texImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
short[] pixels)
Specifies a 3D texture image |
void |
texImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
short[][][][] pixels)
Specifies a 3D texture image |
void |
texParameter(int target,
int pname,
float param)
Set texture parameters |
void |
texParameter(int target,
int pname,
float[] param)
Set texture parameters |
void |
texParameter(int target,
int pname,
int param)
Set texture parameters |
void |
texParameter(int target,
int pname,
int[] param)
Set texture parameters |
void |
texSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
byte[] pixels)
Specifies a one-dimensional texture sub-image |
void |
texSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
float[] pixels)
Specifies a one-dimensional texture sub-image |
void |
texSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
int[] pixels)
Specifies a one-dimensional texture sub-image |
void |
texSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
short[] pixels)
Specifies a one-dimensional texture sub-image |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
byte[] pixels)
Specifies a two-dimensional texture sub-image |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
float[] pixels)
Specifies a two-dimensional texture sub-image |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
int[] pixels)
Specifies a two-dimensional texture sub-image |
void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
short[] pixels)
Specifies a two-dimensional texture sub-image |
void |
texSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
byte[] pixels)
Specifies a three-dimensional texture sub-image |
void |
texSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
float[] pixels)
Specifies a three-dimensional texture sub-image |
void |
texSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int[] pixels)
Specifies a three-dimensional texture sub-image |
void |
texSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
short[] pixels)
Specifies a three-dimensional texture sub-image |
void |
translate(double x,
double y,
double z)
Multiply the current matrix by a translation matrix |
void |
translate(float x,
float y,
float z)
Multiply the current matrix by a translation matrix |
void |
vertex(double[] ary)
Specify a vertex using an array of doubles |
void |
vertex(double x,
double y)
Polymorphic method for glVertex2d |
void |
vertex(double x,
double y,
double z)
Polymorphic method for glVertex3d |
void |
vertex(double x,
double y,
double z,
double w)
Polymorphic method for glVertex4d |
void |
vertex(float[] ary)
Specify a vertex using an array of floats |
void |
vertex(float x,
float y)
Polymorphic method for glVertex2f |
void |
vertex(float x,
float y,
float z)
Polymorphic method for glVertex3f |
void |
vertex(float x,
float y,
float z,
float w)
Polymorphic method for glVertex4f |
void |
vertex(int[] ary)
Specify a vertex using an array of ints |
void |
vertex(int x,
int y)
Polymorphic method for glVertex2i |
void |
vertex(int x,
int y,
int z)
Polymorphic method for glVertex3i |
void |
vertex(int x,
int y,
int z,
int w)
Polymorphic method for glVertex4i |
void |
vertex(short[] ary)
Specify a vertex using an array of shorts |
void |
vertex(short x,
short y)
Polymorphic method for glVertex2s |
void |
vertex(short x,
short y,
short z)
Polymorphic method for glVertex3s |
void |
vertex(short x,
short y,
short z,
short w)
Polymorphic method for glVertex4s |
void |
viewport(GLDrawable component,
int x,
int y,
int width,
int height)
Set the viewport |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String VERSION
Constructor Detail |
public TemplateGL(GL parent)
parent
- The parent pipeline objectMethod Detail |
public void setParent(GL parent)
parent
- The parent interfacepublic GL getParent()
public void setMode(int mode)
mode
- The operating modepublic int getMode()
public void display(java.lang.String methodName, java.util.Vector args)
methodName
- The name of the method to print. '()' is appended for youargs
- A vector containing the argumentspublic final void glCallLists(int n, int type, byte[] lists) throws OpenGLException
n
- Specifies the number of display lists to be executedtype
- 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 listpublic final void glCallLists(int n, int type, short[] lists) throws OpenGLException
n
- Specifies the number of display lists to be executedtype
- 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 arraylists
- Specifies an array containing the name offsets in the display listpublic final void glCallLists(int n, int type, int[] lists) throws OpenGLException
n
- Specifies the number of display lists to be executedtype
- 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 listpublic final void glDrawElements(int mode, int count, int type, byte[] indices) throws OpenGLException
mode
- Specifies what kind of primitives to rendercount
- Specifies the number of elements to be renderedtype
- Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameterindices
- Specifies the indices to operate onpublic final void glDrawElements(int mode, int count, int type, short[] indices) throws OpenGLException
mode
- Specifies what kind of primitives to rendercount
- Specifies the number of elements to be renderedtype
- Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameterindices
- Specifies the indices to operate onpublic final void glDrawElements(int mode, int count, int type, int[] indices) throws OpenGLException
mode
- Specifies what kind of primitives to rendercount
- Specifies the number of elements to be renderedtype
- Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameterindices
- Specifies the indices to operate onpublic final void glDrawElements(int mode, int count, int type, byte[] indices, int offset) throws OpenGLException
mode
- Specifies what kind of primitives to rendercount
- Specifies the number of elements to be renderedtype
- Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameterindices
- Specifies the indices to operate onpublic final void glDrawElements(int mode, int count, int type, short[] indices, int offset) throws OpenGLException
mode
- Specifies what kind of primitives to rendercount
- Specifies the number of elements to be renderedtype
- Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameterindices
- Specifies the indices to operate onpublic final void glDrawElements(int mode, int count, int type, int[] indices, int offset) throws OpenGLException
mode
- Specifies what kind of primitives to rendercount
- Specifies the number of elements to be renderedtype
- Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameterindices
- Specifies the indices to operate onpublic final void glDrawPixels(int width, int height, int format, int type, byte[] pixels) throws OpenGLException
width
- Specifies the width of the pixel rectangleheight
- Specifies the height of the pixel rectangleformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argumentpixels
- The pixel datapublic final void glDrawPixels(int width, int height, int format, int type, short[] pixels) throws OpenGLException
width
- Specifies the width of the pixel rectangleheight
- Specifies the height of the pixel rectangleformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argumentpixels
- The pixel datapublic final void glDrawPixels(int width, int height, int format, int type, int[] pixels) throws OpenGLException
width
- Specifies the width of the pixel rectangleheight
- Specifies the height of the pixel rectangleformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argumentpixels
- The pixel datapublic final void glDrawPixels(int width, int height, int format, int type, float[] pixels) throws OpenGLException
width
- Specifies the width of the pixel rectangleheight
- Specifies the height of the pixel rectangleformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argumentpixels
- The pixel datapublic final void glGetTexImage(int target, int level, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are acceptedlevel
- Specifies the mipmap level-of-detail numberformat
- Specifies a pixel format for the returned datatype
- Specifies a pixel type for the returned datapixels
- This parameter will contain the returned texture datapublic final void glGetTexImage(int target, int level, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are acceptedlevel
- Specifies the mipmap level-of-detail numberformat
- Specifies a pixel format for the returned datatype
- Specifies a pixel type for the returned datapixels
- This parameter will contain the returned texture datapublic final void glGetTexImage(int target, int level, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are acceptedlevel
- Specifies the mipmap level-of-detail numberformat
- Specifies a pixel format for the returned datatype
- Specifies a pixel type for the returned datapixels
- This parameter will contain the returned texture datapublic final void glGetTexImage(int target, int level, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are acceptedlevel
- Specifies the mipmap level-of-detail numberformat
- Specifies a pixel format for the returned datatype
- Specifies a pixel type for the returned datapixels
- This parameter will contain the returned texture datapublic final void glReadPixels(int x, int y, int width, int height, int format, int type, byte[] pixels) throws OpenGLException
x
- Specify the x window coordinate of the first pixel to be ready
- Specify the y window coordinate of the first pixel to be readwidth
- The width of the pixel rectangle to readheight
- The height of the pixel rectangle to readformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapublic final void glReadPixels(int x, int y, int width, int height, int format, int type, short[] pixels) throws OpenGLException
x
- Specify the x window coordinate of the first pixel to be ready
- Specify the y window coordinate of the first pixel to be readwidth
- The width of the pixel rectangle to readheight
- The height of the pixel rectangle to readformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapublic final void glReadPixels(int x, int y, int width, int height, int format, int type, int[] pixels) throws OpenGLException
x
- Specify the x window coordinate of the first pixel to be ready
- Specify the y window coordinate of the first pixel to be readwidth
- The width of the pixel rectangle to readheight
- The height of the pixel rectangle to readformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapublic final void glReadPixels(int x, int y, int width, int height, int format, int type, float[] pixels) throws OpenGLException
x
- Specify the x window coordinate of the first pixel to be ready
- Specify the y window coordinate of the first pixel to be readwidth
- The width of the pixel rectangle to readheight
- The height of the pixel rectangle to readformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapublic final void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, byte[][] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void texImage1D(int target, int level, int components, int width, int border, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, short[][] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void texImage1D(int target, int level, int components, int width, int border, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, int[][] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void texImage1D(int target, int level, int components, int width, int border, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, float[][] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void texImage1D(int target, int level, int components, int width, int border, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageborder
- The width of the texture bordertype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, byte[][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void texImage2D(int target, int level, int components, int width, int height, int border, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, short[][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void texImage2D(int target, int level, int components, int width, int height, int border, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, int[][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void texImage2D(int target, int level, int components, int width, int height, int border, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, float[][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void texImage2D(int target, int level, int components, int width, int height, int border, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic final void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arraywidth
- Specifies the width of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arraywidth
- Specifies the width of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arraywidth
- Specifies the width of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arraywidth
- Specifies the width of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arraywidth
- Specifies the width of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arraywidth
- Specifies the width of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arraywidth
- Specifies the width of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arraywidth
- Specifies the width of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final java.lang.String glGetString(int name) throws OpenGLException
name
- Specifies a symbolic constant defining the OpenGL implementation specific information to return. Legal values are GL_VENDOR, GL_RENDERER, GL_VERSION or GL_EXTENSIONSpublic final java.lang.String getString(int name) throws OpenGLException
name
- Specifies a symbolic constant defining the OpenGL implementation specific information to return. Legal values are GL_VENDOR, GL_RENDERER, GL_VERSION or GL_EXTENSIONSGL.glGetString(int)
public final void vertex(short x, short y) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexGL.glVertex2s(short, short)
public final void vertex(int x, int y) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexGL.glVertex2i(int, int)
public final void vertex(float x, float y) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexGL.glVertex2f(float, float)
public final void vertex(double x, double y) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexGL.glVertex2d(double, double)
public final void vertex(short x, short y, short z) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexz
- The z-coordinate of the vertexGL.glVertex3s(short, short, short)
public final void vertex(int x, int y, int z) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexz
- The z-coordinate of the vertexGL.glVertex3i(int, int, int)
public final void vertex(float x, float y, float z) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexz
- The z-coordinate of the vertexGL.glVertex3f(float, float, float)
public final void vertex(double x, double y, double z) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexz
- The z-coordinate of the vertexGL.glVertex3d(double, double, double)
public final void vertex(short x, short y, short z, short w) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexz
- The z-coordinate of the vertexw
- The w-coordinate of the vertexGL.glVertex4s(short, short, short, short)
public final void vertex(int x, int y, int z, int w) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexz
- The z-coordinate of the vertexw
- The w-coordinate of the vertexGL.glVertex4i(int, int, int, int)
public final void vertex(float x, float y, float z, float w) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexz
- The z-coordinate of the vertexw
- The w-coordinate of the vertexGL.glVertex4f(float, float, float, float)
public final void vertex(double x, double y, double z, double w) throws OpenGLException
x
- The x-coordinate of the vertexy
- The y-coordinate of the vertexz
- The z-coordinate of the vertexw
- The w-coordinate of the vertexGL.glVertex4d(double, double, double, double)
public final void vertex(short[] ary) throws OpenGLException
ary
- Array containing vertex datapublic final void vertex(int[] ary) throws OpenGLException
ary
- Array containing vertex datapublic final void vertex(float[] ary) throws OpenGLException
ary
- Array containing vertex datapublic final void vertex(double[] ary) throws OpenGLException
ary
- Array containing vertex datapublic final void color(byte r, byte g, byte b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colourGL.glColor3b(byte, byte, byte)
public final void color(short r, short g, short b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colourGL.glColor3s(short, short, short)
public final void color(int r, int g, int b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colourGL.glColor3i(int, int, int)
public final void color(float r, float g, float b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colourGL.glColor3f(float, float, float)
public final void color(double r, double g, double b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colourGL.glColor3d(double, double, double)
public final void color(byte r, byte g, byte b, byte a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colourGL.glColor4b(byte, byte, byte, byte)
public final void color(short r, short g, short b, short a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colourGL.glColor4s(short, short, short, short)
public final void color(int r, int g, int b, int a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colourGL.glColor4i(int, int, int, int)
public final void color(float r, float g, float b, float a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colourGL.glColor4f(float, float, float, float)
public final void color(double r, double g, double b, double a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colourGL.glColor4d(double, double, double, double)
public final void color(byte[] ary) throws OpenGLException
GL.glColor3bv(byte[])
,
GL.glColor4bv(byte[])
public final void color(short[] ary) throws OpenGLException
ary
- An array containing colour dataGL.glColor3sv(short[])
,
GL.glColor4sv(short[])
public final void color(int[] ary) throws OpenGLException
ary
- An array containing colour dataGL.glColor3iv(int[])
,
GL.glColor4iv(int[])
public final void color(float[] ary) throws OpenGLException
ary
- An array containing colour dataGL.glColor3fv(float[])
,
GL.glColor4fv(float[])
public final void color(double[] ary) throws OpenGLException
ary
- An array containing colour dataGL.glColor3dv(double[])
,
GL.glColor4dv(double[])
public final void texCoord(short s) throws OpenGLException
s
- The s texture coordinateGL.glTexCoord1s(short)
public final void texCoord(int s) throws OpenGLException
s
- The s texture coordinateGL.glTexCoord1i(int)
public final void texCoord(float s) throws OpenGLException
s
- The s texture coordinateGL.glTexCoord1f(float)
public final void texCoord(double s) throws OpenGLException
s
- The s texture coordinateGL.glTexCoord1d(double)
public final void texCoord(short s, short t) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinateGL.glTexCoord2s(short, short)
public final void texCoord(int s, int t) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinateGL.glTexCoord2i(int, int)
public final void texCoord(float s, float t) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinateGL.glTexCoord2f(float, float)
public final void texCoord(double s, double t) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinateGL.glTexCoord2d(double, double)
public final void texCoord(short s, short t, short r) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateGL.glTexCoord3s(short, short, short)
public final void texCoord(int s, int t, int r) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateGL.glTexCoord3i(int, int, int)
public final void texCoord(float s, float t, float r) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateGL.glTexCoord3f(float, float, float)
public final void texCoord(double s, double t, double r) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateGL.glTexCoord3d(double, double, double)
public final void texCoord(short s, short t, short r, short q) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateq
- The q texture coordinateGL.glTexCoord4s(short, short, short, short)
public final void texCoord(int s, int t, int r, int q) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateq
- The q texture coordinateGL.glTexCoord4i(int, int, int, int)
public final void texCoord(float s, float t, float r, float q) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateq
- The q texture coordinateGL.glTexCoord4f(float, float, float, float)
public final void texCoord(double s, double t, double r, double q) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateq
- The q texture coordinateGL.glTexCoord4d(double, double, double, double)
public final void texCoord(short[] ary) throws OpenGLException
ary
- An array containing texture coordinate dataGL.glTexCoord1sv(short[])
,
GL.glTexCoord2sv(short[])
,
GL.glTexCoord3sv(short[])
,
GL.glTexCoord4sv(short[])
public final void texCoord(int[] ary) throws OpenGLException
ary
- An array containing texture coordinate dataGL.glTexCoord1iv(int[])
,
GL.glTexCoord2iv(int[])
,
GL.glTexCoord3iv(int[])
,
GL.glTexCoord4iv(int[])
public final void texCoord(float[] ary) throws OpenGLException
ary
- An array containing texture coordinate dataGL.glTexCoord1fv(float[])
,
GL.glTexCoord2fv(float[])
,
GL.glTexCoord3fv(float[])
,
GL.glTexCoord4fv(float[])
public final void texCoord(double[] ary) throws OpenGLException
ary
- An array containing texture coordinate dataGL.glTexCoord1dv(double[])
,
GL.glTexCoord2dv(double[])
,
GL.glTexCoord3dv(double[])
,
GL.glTexCoord4dv(double[])
public final void rasterPos(short x, short y) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionGL.glRasterPos2s(short, short)
public final void rasterPos(int x, int y) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionGL.glRasterPos2i(int, int)
public final void rasterPos(float x, float y) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionGL.glRasterPos2f(float, float)
public final void rasterPos(double x, double y) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionGL.glRasterPos2d(double, double)
public final void rasterPos(short x, short y, short z) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionz
- The z object coordinate for the raster positionGL.glRasterPos3s(short, short, short)
public final void rasterPos(int x, int y, int z) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionz
- The z object coordinate for the raster positionGL.glRasterPos3i(int, int, int)
public final void rasterPos(float x, float y, float z) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionz
- The z object coordinate for the raster positionGL.glRasterPos3f(float, float, float)
public final void rasterPos(double x, double y, double z) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionz
- The z object coordinate for the raster positionGL.glRasterPos3d(double, double, double)
public final void rasterPos(short x, short y, short z, short w) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionz
- The z object coordinate for the raster positionw
- The w object coordinate for the raster positionGL.glRasterPos4s(short, short, short, short)
public final void rasterPos(int x, int y, int z, int w) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionz
- The z object coordinate for the raster positionw
- The w object coordinate for the raster positionGL.glRasterPos4i(int, int, int, int)
public final void rasterPos(float x, float y, float z, float w) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionz
- The z object coordinate for the raster positionw
- The w object coordinate for the raster positionGL.glRasterPos4f(float, float, float, float)
public final void rasterPos(double x, double y, double z, double w) throws OpenGLException
x
- The x object coordinate for the raster positiony
- The y object coordinate for the raster positionz
- The z object coordinate for the raster positionw
- The w object coordinate for the raster positionGL.glRasterPos4d(double, double, double, double)
public final void rasterPos(short[] ary) throws OpenGLException
ary
- An array containing raster positional dataGL.glRasterPos2sv(short[])
,
GL.glRasterPos3sv(short[])
,
GL.glRasterPos4sv(short[])
public final void rasterPos(int[] ary) throws OpenGLException
ary
- An array containing raster positional dataGL.glRasterPos2iv(int[])
,
GL.glRasterPos3iv(int[])
,
GL.glRasterPos4iv(int[])
public final void rasterPos(float[] ary) throws OpenGLException
ary
- An array containing raster positional dataGL.glRasterPos2fv(float[])
,
GL.glRasterPos3fv(float[])
,
GL.glRasterPos4fv(float[])
public final void rasterPos(double[] ary) throws OpenGLException
ary
- An array containing raster positional dataGL.glRasterPos2dv(double[])
,
GL.glRasterPos3dv(double[])
,
GL.glRasterPos4dv(double[])
public final void glVertexPointer(int size, int type, int stride, short[] ptr) throws OpenGLException
size
- Specifies the number of coordinates per vertextype
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive verticesptr
- Specifies the vertex datapublic final void glVertexPointer(int size, int type, int stride, int[] ptr) throws OpenGLException
size
- Specifies the number of coordinates per vertextype
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive verticesptr
- Specifies the vertex datapublic final void glVertexPointer(int size, int type, int stride, float[] ptr) throws OpenGLException
size
- Specifies the number of coordinates per vertextype
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive verticesptr
- Specifies the vertex datapublic final void glVertexPointer(int size, int type, int stride, double[] ptr) throws OpenGLException
size
- Specifies the number of coordinates per vertextype
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive verticesptr
- Specifies the vertex datapublic final void glColorPointer(int size, int type, int stride, byte[] ptr) throws OpenGLException
size
- Specifies the number of components per colour. Must be 3 or 4type
- Specifies the data type of each colour component in the array.stride
- Specifies the byte offset between consecutive colours.pointer
- Specifies the colour datapublic final void glColorPointer(int size, int type, int stride, short[] ptr) throws OpenGLException
size
- Specifies the number of components per colour. Must be 3 or 4type
- Specifies the data type of each colour component in the array.stride
- Specifies the byte offset between consecutive colours.pointer
- Specifies the colour datapublic final void glColorPointer(int size, int type, int stride, int[] ptr) throws OpenGLException
size
- Specifies the number of components per colour. Must be 3 or 4type
- Specifies the data type of each colour component in the array.stride
- Specifies the byte offset between consecutive colours.pointer
- Specifies the colour datapublic final void glColorPointer(int size, int type, int stride, float[] ptr) throws OpenGLException
size
- Specifies the number of components per colour. Must be 3 or 4type
- Specifies the data type of each colour component in the array.stride
- Specifies the byte offset between consecutive colours.pointer
- Specifies the colour datapublic final void glColorPointer(int size, int type, int stride, double[] ptr) throws OpenGLException
size
- Specifies the number of components per colour. Must be 3 or 4type
- Specifies the data type of each colour component in the array.stride
- Specifies the byte offset between consecutive colours.pointer
- Specifies the colour datapublic final void glNormalPointer(int type, int stride, byte[] ptr) throws OpenGLException
type
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive normalsptr
- Specifies the normal datapublic final void glNormalPointer(int type, int stride, short[] ptr) throws OpenGLException
type
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive normalsptr
- Specifies the normal datapublic final void glNormalPointer(int type, int stride, int[] ptr) throws OpenGLException
type
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive normalsptr
- Specifies the normal datapublic final void glNormalPointer(int type, int stride, float[] ptr) throws OpenGLException
type
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive normalsptr
- Specifies the normal datapublic final void glNormalPointer(int type, int stride, double[] ptr) throws OpenGLException
type
- Specifies the data type of each coordinate in the arraystride
- Specifies the byte offset between consecutive normalsptr
- Specifies the normal datapublic final void glIndexPointer(int type, int stride, byte[] ptr) throws OpenGLException
type
- Specifies the data type of each colour index in the arraystride
- Specifies the byte offset between consecutive colour indicesptr
- Specifies the colour index datapublic final void glIndexPointer(int type, int stride, short[] ptr) throws OpenGLException
type
- Specifies the data type of each colour index in the arraystride
- Specifies the byte offset between consecutive colour indicesptr
- Specifies the colour index datapublic final void glIndexPointer(int type, int stride, int[] ptr) throws OpenGLException
type
- Specifies the data type of each colour index in the arraystride
- Specifies the byte offset between consecutive colour indicesptr
- Specifies the colour index datapublic final void glIndexPointer(int type, int stride, float[] ptr) throws OpenGLException
type
- Specifies the data type of each colour index in the arraystride
- Specifies the byte offset between consecutive colour indicesptr
- Specifies the colour index datapublic final void glIndexPointer(int type, int stride, double[] ptr) throws OpenGLException
type
- Specifies the data type of each colour index in the arraystride
- Specifies the byte offset between consecutive colour indicesptr
- Specifies the colour index datapublic final void glTexCoordPointer(int size, int type, int stride, short[] ptr) throws OpenGLException
size
- Specifies the number of coordinates in each array elementtype
- Specifies the data type of each texture coordinatestride
- Specifies the byte offset between each texture coordinateptr
- Specifies the texture coordinate datapublic final void glTexCoordPointer(int size, int type, int stride, int[] ptr) throws OpenGLException
size
- Specifies the number of coordinates in each array elementtype
- Specifies the data type of each texture coordinatestride
- Specifies the byte offset between each texture coordinateptr
- Specifies the texture coordinate datapublic final void glTexCoordPointer(int size, int type, int stride, float[] ptr) throws OpenGLException
size
- Specifies the number of coordinates in each array elementtype
- Specifies the data type of each texture coordinatestride
- Specifies the byte offset between each texture coordinateptr
- Specifies the texture coordinate datapublic final void glTexCoordPointer(int size, int type, int stride, double[] ptr) throws OpenGLException
size
- Specifies the number of coordinates in each array elementtype
- Specifies the data type of each texture coordinatestride
- Specifies the byte offset between each texture coordinateptr
- Specifies the texture coordinate datapublic final void glInterleavedArrays(int format, int stride, float[] pointer) throws OpenGLException
size
- Specifies the number of coordinates in each array elementtype
- Specifies the data type of each texture coordinatestride
- Specifies the byte offset between each texture coordinateptr
- Specifies the texture coordinate datapublic final void glMap1f(int target, float u1, float u2, int stride, int order, float[][] points) throws OpenGLException
target
- Specifies the kind of values generated by the evaluatoru1
- Linear mappingu2
- Linear mappingstride
- Specifies the number of floats or doubles between the beginning of one control point and the nextorder
- Specifies the number of control pointspoints
- Specifies the control pointspublic final void glMap1d(int target, double u1, double u2, int stride, int order, double[][] points) throws OpenGLException
target
- Specifies the kind of values generated by the evaluatoru1
- Linear mappingu2
- Linear mappingstride
- Specifies the number of floats or doubles between the beginning of one control point and the nextorder
- Specifies the number of control pointspoints
- Specifies the control pointspublic 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
target
- Specifies the kind of values generated by the evaluatoru1
- Linear mappingu2
- Linear mappingustride
- Specifies the number of floats or doubles between consecutive control points in the parametric u directionuorder
- Specifies the number of control points in the parametric u directionv1
- Linear mappingv2
- Linear mappingvstride
- Specifies the number of floats or doubles between consecutive control points in the parametric v directionvorder
- Specifies the number of control points in the parametric v directionpoints
- The control pointspublic 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
target
- Specifies the kind of values generated by the evaluatoru1
- Linear mappingu2
- Linear mappingustride
- Specifies the number of floats or doubles between consecutive control points in the parametric u directionuorder
- Specifies the number of control points in the parametric u directionv1
- Linear mappingv2
- Linear mappingvstride
- Specifies the number of floats or doubles between consecutive control points in the parametric v directionvorder
- Specifies the number of control points in the parametric v directionpoints
- The control pointspublic final int glRenderMode(int mode) throws OpenGLException
mode
- Specifies the rasterization mode
public final int renderMode(int mode) throws OpenGLException
mode
- Specifies the rasterization mode
public final int glGetError() throws OpenGLException
public final int getError() throws OpenGLException
public final void glViewport(GLDrawable component, int x, int y, int width, int height) throws OpenGLException
x
- Lower-left viewport corner x-coordinatey
- Lower-left viewport corner y-coordinatewidth
- Width of the viewportheight
- Height of the viewport
viewport(com.hermetica.magician.GLDrawable, int, int, int, int)
public void viewport(GLDrawable component, int x, int y, int width, int height) throws OpenGLException
x
- Lower-left viewport corner x-coordinatey
- Lower-left viewport corner y-coordinatewidth
- Width of the viewportheight
- Height of the viewport
glViewport(com.hermetica.magician.GLDrawable, int, int, int, int)
public final int glGenLists(int range) throws OpenGLException
range
- The number of contiguous display lists to generate
public final int genLists(int range) throws OpenGLException
range
- The number of contiguous display lists to generate
public final boolean glAreTexturesResident(int n, int[] textures, boolean[] residence) throws OpenGLException
n
- Specifies the number of textures to be queriedtextures
- Specifies an array containing the names of the textures to be queriedresidences
- Specifies an array in which the results of the texture residency status are returnedpublic final boolean areTexturesResident(int n, int[] textures, boolean[] residence) throws OpenGLException
n
- Specifies the number of textures to be queriedtextures
- Specifies an array containing the names of the textures to be queriedresidences
- Specifies an array in which the results of the texture residency status are returnedpublic final boolean glIsEnabled(int cap) throws OpenGLException
cap
- The capability to be queriedpublic final boolean isEnabled(int cap) throws OpenGLException
cap
- The capability to be queriedpublic final boolean glIsList(int list) throws OpenGLException
list
- The potential display list namepublic final boolean isList(int list) throws OpenGLException
list
- The potential display list namepublic final boolean glIsTexture(int texture) throws OpenGLException
The
- potential texture objectpublic final boolean isTexture(int texture) throws OpenGLException
The
- potential texture objectpublic void glDrawRangeElements(int mode, int start, int end, int count, int type, byte[] indices) throws OpenGLException
mode
- Specifies the type of primitives to renderstart
- The start indexThe
- end indexThe
- number of elements to drawThe
- data type of the elementsindices
- The array elementspublic void drawRangeElements(int mode, int start, int end, int count, int type, byte[] indices) throws OpenGLException
mode
- Specifies the type of primitives to renderstart
- The start indexThe
- end indexThe
- number of elements to drawThe
- data type of the elementsindices
- The array elementspublic void glDrawRangeElements(int mode, int start, int end, int count, int type, short[] indices) throws OpenGLException
mode
- Specifies the type of primitives to renderstart
- The start indexThe
- end indexThe
- number of elements to drawThe
- data type of the elementsindices
- The array elementspublic void drawRangeElements(int mode, int start, int end, int count, int type, short[] indices) throws OpenGLException
mode
- Specifies the type of primitives to renderstart
- The start indexThe
- end indexThe
- number of elements to drawThe
- data type of the elementsindices
- The array elementspublic void glDrawRangeElements(int mode, int start, int end, int count, int type, int[] indices) throws OpenGLException
mode
- Specifies the type of primitives to renderstart
- The start indexThe
- end indexThe
- number of elements to drawThe
- data type of the elementsindices
- The array elementspublic void drawRangeElements(int mode, int start, int end, int count, int type, int[] indices) throws OpenGLException
mode
- Specifies the type of primitives to renderstart
- The start indexThe
- end indexThe
- number of elements to drawThe
- data type of the elementsindices
- The array elementspublic void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, byte[][][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, byte[][][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, short[][][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, short[][][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int[][][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int[][][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, float[][][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, float[][][][] pixels) throws OpenGLException
target
- Specifies the target texturelevel
- Specifies the mipmap level-of-detail numbercomponents
- Specifies the number of colour components in the texturewidth
- The width of the texture imageheight
- The height of the texture imagedepth
- The depth of the texture imageborder
- The width of the texture borderformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argumentpixels
- Specifies the pixel datapublic void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arrayzoffset
- Specifies a texel offset in the z direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimagedepth
- Specifies the depth of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, byte[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arrayzoffset
- Specifies a texel offset in the z direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimagedepth
- Specifies the depth of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arrayzoffset
- Specifies a texel offset in the z direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimagedepth
- Specifies the depth of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arrayzoffset
- Specifies a texel offset in the z direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimagedepth
- Specifies the depth of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arrayzoffset
- Specifies a texel offset in the z direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimagedepth
- Specifies the depth of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arrayzoffset
- Specifies a texel offset in the z direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimagedepth
- Specifies the depth of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arrayzoffset
- Specifies a texel offset in the z direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimagedepth
- Specifies the depth of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels) throws OpenGLException
target
- Specifies the target texture. Must be GL_TEXTURE_1Dlevel
- Specifies the mipmap level-of-detail numberxoffset
- Specifies a texel offset in the x direction within the texture arrayyoffset
- Specifies a texel offset in the y direction within the texture arrayzoffset
- Specifies a texel offset in the z direction within the texture arraywidth
- Specifies the width of the texture subimageheight
- Specifies the height of the texture subimagedepth
- Specifies the depth of the texture subimageformat
- Specifies the format of the pixel datatype
- Specifies the data type of the pixel datapixels
- The pixel data itselfpublic final void glVertex3fv(float[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glRasterPos3dv(double[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glClearAccum(float red, float green, float blue, float alpha) throws OpenGLException
red
- The red value to clear the buffer togreen
- The green value to clear the buffer toblue
- The blue value to clear the buffer toalpha
- The alpha value to clear the buffer to
public final void clearAccum(float red, float green, float blue, float alpha) throws OpenGLException
red
- The red value to clear the buffer togreen
- The green value to clear the buffer toblue
- The blue value to clear the buffer toalpha
- The alpha value to clear the buffer to
public final void glTexParameteriv(int target, int pname, int[] param) throws OpenGLException
target
- Specifies the target texturepname
- Specifies the name of a texture parameterparam
- Specifies the value or values of `pname'
public final void texParameter(int target, int pname, int[] param) throws OpenGLException
target
- Specifies the target texturepname
- Specifies the name of a texture parameterparam
- Specifies the value or values of `pname'
public final void glRasterPos2fv(float[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glRotated(double angle, double x, double y, double z) throws OpenGLException
angle
- The angle of rotation in degreesx
- The x-coordinate of a vectory
- The y-coordinate of a vectorz
- The z-coordinate of a vector
public final void rotate(double angle, double x, double y, double z) throws OpenGLException
angle
- The angle of rotation in degreesx
- The x-coordinate of a vectory
- The y-coordinate of a vectorz
- The z-coordinate of a vector
public final void glLightfv(int light, int pname, float[] param) throws OpenGLException
light
- The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7pname
- 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_ATTENUATIONparam
- The value of the chosen parameter
public final void light(int light, int pname, float[] param) throws OpenGLException
light
- The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7pname
- 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_ATTENUATIONparam
- The value of the chosen parameter
public final void glRotatef(float angle, float x, float y, float z) throws OpenGLException
angle
- The angle of rotation in degreesx
- The x-coordinate of a vectory
- The y-coordinate of a vectorz
- The z-coordinate of a vector
public final void rotate(float angle, float x, float y, float z) throws OpenGLException
angle
- The angle of rotation in degreesx
- The x-coordinate of a vectory
- The y-coordinate of a vectorz
- The z-coordinate of a vector
public final void glTexCoord2iv(int[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glMapGrid1d(int un, double u1, double u2) throws OpenGLException
un
- Specifies the number of partitions in the grid range intervalu1
- A domain value grid mappingu2
- A domain value grid mapping
public final void mapGrid(int un, double u1, double u2) throws OpenGLException
un
- Specifies the number of partitions in the grid range intervalu1
- A domain value grid mappingu2
- A domain value grid mapping
public final void glRasterPos4d(double x, double y, double z, double w) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster positionz
- The z-coordinate of the raster positionw
- The w-coordinate of the raster position
public final void glMultMatrixd(double[][] m) throws OpenGLException
m
- An array of 16 consecutive values use as the elements of a 4x4 matrix
public final void multMatrix(double[][] m) throws OpenGLException
m
- An array of 16 consecutive values use as the elements of a 4x4 matrix
public final void glMultMatrixd(double[] m) throws OpenGLException
m
- An array of 16 consecutive values use as the elements of a 4x4 matrix
public final void multMatrix(double[] m) throws OpenGLException
m
- An array of 16 consecutive values use as the elements of a 4x4 matrix
public final void glMapGrid1f(int un, float u1, float u2) throws OpenGLException
un
- Specifies the number of partitions in the grid range intervalu1
- A domain value grid mappingu2
- A domain value grid mapping
public final void mapGrid(int un, float u1, float u2) throws OpenGLException
un
- Specifies the number of partitions in the grid range intervalu1
- A domain value grid mappingu2
- A domain value grid mapping
public final void glRasterPos4f(float x, float y, float z, float w) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster positionz
- The z-coordinate of the raster positionw
- The w-coordinate of the raster position
public final void glMultMatrixf(float[][] m) throws OpenGLException
m
- An array of 16 consecutive values use as the elements of a 4x4 matrix
public final void multMatrix(float[][] m) throws OpenGLException
m
- An array of 16 consecutive values use as the elements of a 4x4 matrix
public final void glMultMatrixf(float[] m) throws OpenGLException
m
- An array of 16 consecutive values use as the elements of a 4x4 matrix
public final void multMatrix(float[] m) throws OpenGLException
m
- An array of 16 consecutive values use as the elements of a 4x4 matrix
public final void glPixelMapusv(int map, int mapsize, short[] values) throws OpenGLException
map
- Specifies a symbolic map namemapsize
- Specifies the size of the map being definedvalues
- Specifies an array of `mapsize' values
public final void pixelMap(int map, int mapsize, short[] values) throws OpenGLException
map
- Specifies a symbolic map namemapsize
- Specifies the size of the map being definedvalues
- Specifies an array of `mapsize' values
public final void glRasterPos4i(int x, int y, int z, int w) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster positionz
- The z-coordinate of the raster positionw
- The w-coordinate of the raster position
public final void glGetIntegerv(int pname, int[] params) throws OpenGLException
pname
- A symbolic constant signifying which state variable to returnparams
- The buffer to fill with the requested data
public final void getInteger(int pname, int[] params) throws OpenGLException
pname
- A symbolic constant signifying which state variable to returnparams
- The buffer to fill with the requested data
public final void glGetTexGendv(int coord, int pname, double[] params) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies the symbolic name of the value or values to be returnedparams
- Returns the requested data
public final void getTexGen(int coord, int pname, double[] params) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies the symbolic name of the value or values to be returnedparams
- Returns the requested data
public final void glDrawBuffer(int mode) throws OpenGLException
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
public final void drawBuffer(int mode) throws OpenGLException
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
public final void glGetTexLevelParameteriv(int target, int level, int pname, int[] params) throws OpenGLException
target
- The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2Dlevel
- The mipmap level-of-detailpname
- 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_SIZEparams
- The buffer into which the queried values are returned
public final void getTexLevelParameter(int target, int level, int pname, int[] params) throws OpenGLException
target
- The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2Dlevel
- The mipmap level-of-detailpname
- 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_SIZEparams
- The buffer into which the queried values are returned
public final void glTexGeniv(int coord, int pname, int[] param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void texGen(int coord, int pname, int[] param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void glRasterPos4s(short x, short y, short z, short w) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster positionz
- The z-coordinate of the raster positionw
- The w-coordinate of the raster position
public final void glVertex2iv(int[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glLightModelf(int pname, float param) throws OpenGLException
pname
- The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDEparam
- The value of the chosen parameter
public final void lightModel(int pname, float param) throws OpenGLException
pname
- The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDEparam
- The value of the chosen parameter
public final void glLightModeli(int pname, int param) throws OpenGLException
pname
- The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDEparam
- The value of the chosen parameter
public final void lightModel(int pname, int param) throws OpenGLException
pname
- The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDEparam
- The value of the chosen parameter
public final void glVertex2d(double x, double y) throws OpenGLException
x
- The x-coordinatey
- The y-coordinate
public final void glPrioritizeTextures(int n, int[] textures, float[] priorities) throws OpenGLException
n
- The number of textures to be prioritizedtextures
- The names of the textures to be prioritizedpriorities
- The priorities of the named textures
public final void prioritizeTextures(int n, int[] textures, float[] priorities) throws OpenGLException
n
- The number of textures to be prioritizedtextures
- The names of the textures to be prioritizedpriorities
- The priorities of the named textures
public final void glVertex2f(float x, float y) throws OpenGLException
x
- The x-coordinatey
- The y-coordinate
public final void glTexEnvfv(int target, int pname, float[] param) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparam
- Specifies symbolic constants
public final void texEnv(int target, int pname, float[] param) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparam
- Specifies symbolic constants
public final void glDeleteTextures(int n, int[] textureNames) throws OpenGLException
n
- The number of texture objects to deletetextureNames
- The names of the texture objects to delete
public final void deleteTextures(int n, int[] textureNames) throws OpenGLException
n
- The number of texture objects to deletetextureNames
- The names of the texture objects to delete
public final void glTexCoord4fv(float[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glVertex2i(int x, int y) throws OpenGLException
x
- The x-coordinatey
- The y-coordinate
public final void glMapGrid2d(int un, double u1, double u2, int vn, double v1, double v2) throws OpenGLException
un
- Specifies the number of partitions in the grid range intervalu1
- A domain value grid mappingu2
- A domain value grid mappingvn
- Specifies the number of grid range partitionsv1
- A domain value grid mappingv2
- A domain value grid mapping
public final void mapGrid(int un, double u1, double u2, int vn, double v1, double v2) throws OpenGLException
un
- Specifies the number of partitions in the grid range intervalu1
- A domain value grid mappingu2
- A domain value grid mappingvn
- Specifies the number of grid range partitionsv1
- A domain value grid mappingv2
- A domain value grid mapping
public final void glNormal3iv(int[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void normal(int[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void glMapGrid2f(int un, float u1, float u2, int vn, float v1, float v2) throws OpenGLException
un
- Specifies the number of partitions in the grid range intervalu1
- A domain value grid mappingu2
- A domain value grid mappingvn
- Specifies the number of grid range partitionsv1
- A domain value grid mappingv2
- A domain value grid mapping
public final void mapGrid(int un, float u1, float u2, int vn, float v1, float v2) throws OpenGLException
un
- Specifies the number of partitions in the grid range intervalu1
- A domain value grid mappingu2
- A domain value grid mappingvn
- Specifies the number of grid range partitionsv1
- A domain value grid mappingv2
- A domain value grid mapping
public final void glGetMapiv(int target, int query, int[] v) throws OpenGLException
target
- Specifies the symbolic constant of a mapquery
- Specifies which parameter to returnv
- Returns the requested data
public final void getMap(int target, int query, int[] v) throws OpenGLException
target
- Specifies the symbolic constant of a mapquery
- Specifies which parameter to returnv
- Returns the requested data
public final void glRasterPos4sv(short[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glVertex2s(short x, short y) throws OpenGLException
x
- The x-coordinatey
- The y-coordinate
public final void glEnableClientState(int array) throws OpenGLException
array
- Specifies the capability to enable
public final void enableClientState(int array) throws OpenGLException
array
- Specifies the capability to enable
public final void glMaterialfv(int face, int pname, float[] params) throws OpenGLException
face
- Specify which faces are being updatedpname
- Spcifies the material parameter that is being updatedparams
- Specifies an array of material data
public final void material(int face, int pname, float[] params) throws OpenGLException
face
- Specify which faces are being updatedpname
- Spcifies the material parameter that is being updatedparams
- Specifies an array of material data
public final void glVertex4fv(float[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glGetTexParameterfv(int target, int pname, float[] params) throws OpenGLException
target
- Specifies the symbolic name of the target texturepname
- The texture typeparams
- Returns the requested data
public final void getTexParameter(int target, int pname, float[] params) throws OpenGLException
target
- Specifies the symbolic name of the target texturepname
- The texture typeparams
- Returns the requested data
public final void glPolygonOffset(float factor, float units) throws OpenGLException
factor
- Specifies a scale factor that is used to create a variable depth effectunits
- Used to create a constant depth offset
public final void polygonOffset(float factor, float units) throws OpenGLException
factor
- Specifies a scale factor that is used to create a variable depth effectunits
- Used to create a constant depth offset
public final void glRasterPos4dv(double[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glRasterPos3fv(float[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glVertex3d(double x, double y, double z) throws OpenGLException
x
- The x-coordinatey
- The y-coordinatez
- The z-coordinate
public final void glFrustum(double left, double right, double bottom, double top, double nearValue, double farValue) throws OpenGLException
left
- The left edge of the view frustumright
- The right edge of the view frustumbottom
- The bottom edge of the view frustumtop
- The top edge of the view frustumnearValue
- The near clipping plane distancefarValue
- The far clipping plane distance
public final void frustum(double left, double right, double bottom, double top, double nearValue, double farValue) throws OpenGLException
left
- The left edge of the view frustumright
- The right edge of the view frustumbottom
- The bottom edge of the view frustumtop
- The top edge of the view frustumnearValue
- The near clipping plane distancefarValue
- The far clipping plane distance
public final void glVertex3f(float x, float y, float z) throws OpenGLException
x
- The x-coordinatey
- The y-coordinatez
- The z-coordinate
public final void glListBase(int base) throws OpenGLException
base
- Offset to be added to the display list indices in `glCallLists()'
public final void listBase(int base) throws OpenGLException
base
- Offset to be added to the display list indices in `glCallLists()'
public final void glVertex3i(int x, int y, int z) throws OpenGLException
x
- The x-coordinatey
- The y-coordinatez
- The z-coordinate
public final void glTexCoord3iv(int[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glPixelMapfv(int map, int mapsize, float[] values) throws OpenGLException
map
- Specifies a symbolic map namemapsize
- Specifies the size of the map being definedvalues
- Specifies an array of `mapsize' values
public final void pixelMap(int map, int mapsize, float[] values) throws OpenGLException
map
- Specifies a symbolic map namemapsize
- Specifies the size of the map being definedvalues
- Specifies an array of `mapsize' values
public final void glVertex3s(short x, short y, short z) throws OpenGLException
x
- The x-coordinatey
- The y-coordinatez
- The z-coordinate
public final void glGetTexGenfv(int coord, int pname, float[] params) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies the symbolic name of the value or values to be returnedparams
- Returns the requested data
public final void getTexGen(int coord, int pname, float[] params) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies the symbolic name of the value or values to be returnedparams
- Returns the requested data
public final void glInitNames() throws OpenGLException
public final void initNames() throws OpenGLException
public final void glColor3bv(byte[] v) throws OpenGLException
v
- An array containing the 3 component colour values
public final void glVertex3iv(int[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glRasterPos2iv(int[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glPixelStoref(int pname, float param) throws OpenGLException
pname
- The symbolic name of the parameter to be setparam
- The value that `pname' is to be set to
public final void pixelStore(int pname, float param) throws OpenGLException
pname
- The symbolic name of the parameter to be setparam
- The value that `pname' is to be set to
public final void glVertex4d(double x, double y, double z, double w) throws OpenGLException
x
- The x-coordinatey
- The y-coordinatez
- The z-coordinatew
- The w-coordinate
public final void glLightiv(int light, int pname, int[] param) throws OpenGLException
light
- The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7pname
- 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_ATTENUATIONparam
- The value of the chosen parameter
public final void light(int light, int pname, int[] param) throws OpenGLException
light
- The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7pname
- 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_ATTENUATIONparam
- The value of the chosen parameter
public final void glVertex4f(float x, float y, float z, float w) throws OpenGLException
x
- The x-coordinatey
- The y-coordinatez
- The z-coordinatew
- The w-coordinate
public final void glPixelStorei(int pname, int param) throws OpenGLException
pname
- The symbolic name of the parameter to be setparam
- The value that `pname' is to be set to
public final void pixelStore(int pname, int param) throws OpenGLException
pname
- The symbolic name of the parameter to be setparam
- The value that `pname' is to be set to
public final void glVertex4i(int x, int y, int z, int w) throws OpenGLException
x
- The x-coordinatey
- The y-coordinatez
- The z-coordinatew
- The w-coordinate
public final void glClearIndex(float index) throws OpenGLException
index
- The colour-index to clear the colour buffer to
public final void clearIndex(float index) throws OpenGLException
index
- The colour-index to clear the colour buffer to
public final void glCullFace(int mode) throws OpenGLException
mode
- Indicates which polygons should be discarded. Legal values are GL_FRONT, GL_BACK or GL_FRONT_AND_BACK
public final void cullFace(int mode) throws OpenGLException
mode
- Indicates which polygons should be discarded. Legal values are GL_FRONT, GL_BACK or GL_FRONT_AND_BACK
public final void glFinish() throws OpenGLException
public final void finish() throws OpenGLException
public final void glVertex4s(short x, short y, short z, short w) throws OpenGLException
x
- The x-coordinatey
- The y-coordinatez
- The z-coordinatew
- The w-coordinate
public final void glLineWidth(float width) throws OpenGLException
width
- The width in pixels that lines should be drawn with
public final void lineWidth(float width) throws OpenGLException
width
- The width in pixels that lines should be drawn with
public final void glLineStipple(int factor, short pattern) throws OpenGLException
factor
- A scaling factor for the stipple patternpattern
- The pattern to be used for line stippling
public final void lineStipple(int factor, short pattern) throws OpenGLException
factor
- A scaling factor for the stipple patternpattern
- The pattern to be used for line stippling
public final void glAccum(int op, float value) throws OpenGLException
op
- Selects the operationvalue
- The number to be used in the operation
public final void accum(int op, float value) throws OpenGLException
op
- Selects the operationvalue
- The number to be used in the operation
public final void glRasterPos4fv(float[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glReadBuffer(int mode) throws OpenGLException
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
public final void readBuffer(int mode) throws OpenGLException
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
public final void glTexEnviv(int target, int pname, int[] param) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparam
- Specifies symbolic constants
public final void texEnv(int target, int pname, int[] param) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparam
- Specifies symbolic constants
public final void glTexCoord4iv(int[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glColor3sv(short[] v) throws OpenGLException
v
- An array containing the 3 component colour values
public final void glPushName(int name) throws OpenGLException
name
- The name to be pushed onto the name stack
public final void pushName(int name) throws OpenGLException
name
- The name to be pushed onto the name stack
public final void glDepthRange(double nearValue, double farValue) throws OpenGLException
nearValue
- The adjustment to the minimum depth valuefarValue
- The adjustment to the maximum depth value
public final void depthRange(double nearValue, double farValue) throws OpenGLException
nearValue
- The adjustment to the minimum depth valuefarValue
- The adjustment to the maximum depth value
public final void glCopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int height) throws OpenGLException
target
- The constant GL_TEXTURE_1Dlevel
- The mipmap level-of-detailinternalFormat
- The internal format of the texturex
- The x-coord of the bottom-left corner of the texturey
- The y-coord of the bottom-left corner of the texturewidth
- The width of a row of pixels in the textureheight
- The numberd of rows in the texture
public final void copyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int height) throws OpenGLException
target
- The constant GL_TEXTURE_1Dlevel
- The mipmap level-of-detailinternalFormat
- The internal format of the texturex
- The x-coord of the bottom-left corner of the texturey
- The y-coord of the bottom-left corner of the texturewidth
- The width of a row of pixels in the textureheight
- The numberd of rows in the texture
public final void glLoadIdentity() throws OpenGLException
public final void loadIdentity() throws OpenGLException
public final void glColor4bv(byte[] v) throws OpenGLException
v
- An array containing the 4 component colour values
public final void glColor3dv(double[] v) throws OpenGLException
v
- An array containing the 3 component colour values
public final void glMaterialiv(int face, int pname, int[] params) throws OpenGLException
face
- Specify which faces are being updatedpname
- Spcifies the material parameter that is being updatedparams
- Specifies an array of material data
public final void material(int face, int pname, int[] params) throws OpenGLException
face
- Specify which faces are being updatedpname
- Spcifies the material parameter that is being updatedparams
- Specifies an array of material data
public final void glEdgeFlagPointer(int stride, boolean[] pointer) throws OpenGLException
stride
- The size of each edge flag valuepointer
- The array of edge flags
public final void edgeFlagPointer(int stride, boolean[] pointer) throws OpenGLException
stride
- The size of each edge flag valuepointer
- The array of edge flags
public final void glVertex4iv(int[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glGetTexParameteriv(int target, int pname, int[] params) throws OpenGLException
target
- Specifies the symbolic name of the target texturepname
- The texture typeparams
- Returns the requested data
public final void getTexParameter(int target, int pname, int[] params) throws OpenGLException
target
- Specifies the symbolic name of the target texturepname
- The texture typeparams
- Returns the requested data
public final void glEndList() throws OpenGLException
public final void endList() throws OpenGLException
public final void glGetLightfv(int light, int pname, float[] params) throws OpenGLException
light
- Specifies a light sourcepname
- Specifies a light source parameter for `light'params
- Returns the requested data
public final void getLight(int light, int pname, float[] params) throws OpenGLException
light
- Specifies a light sourcepname
- Specifies a light source parameter for `light'params
- Returns the requested data
public final void glRasterPos3iv(int[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glRectsv(short[] v1, short[] v2) throws OpenGLException
v1
- Buffer containing two coordinates for the first corner of the rectanglev2
- Buffer containing two coordinates for the second corner of the rectangle
public final void rect(short[] v1, short[] v2) throws OpenGLException
v1
- Buffer containing two coordinates for the first corner of the rectanglev2
- Buffer containing two coordinates for the second corner of the rectangle
public final void glFogfv(int pname, float[] params) throws OpenGLException
pname
- The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_ENDparams
- The values of the given parameter in `pname'
public final void fog(int pname, float[] params) throws OpenGLException
pname
- The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_ENDparams
- The values of the given parameter in `pname'
public final void glIndexd(double c) throws OpenGLException
c
- The colour index value
public final void index(double c) throws OpenGLException
c
- The colour index value
public final void glTexCoord1d(double s) throws OpenGLException
s
- The s texture coordinate
public final void glNormal3b(byte nx, byte ny, byte nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void normal(byte nx, byte ny, byte nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void glIndexf(float c) throws OpenGLException
c
- The colour index value
public final void index(float c) throws OpenGLException
c
- The colour index value
public final void glGetPixelMapusv(int map, short[] values) throws OpenGLException
map
- Specifies the name of the pixel map to returnvalues
- Returns the pixel map contents
public final void getPixelMap(int map, short[] values) throws OpenGLException
map
- Specifies the name of the pixel map to returnvalues
- Returns the pixel map contents
public final void glTexCoord1f(float s) throws OpenGLException
s
- The s texture coordinate
public final void glColor3ubv(byte[] v) throws OpenGLException
v
- An array containing the 3 component colour values
public final void glNormal3d(double nx, double ny, double nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void normal(double nx, double ny, double nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void glIndexi(int c) throws OpenGLException
c
- The colour index value
public final void index(int c) throws OpenGLException
c
- The colour index value
public final void glDepthFunc(int func) throws OpenGLException
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
public final void depthFunc(int func) throws OpenGLException
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
public final void glTexCoord1i(int s) throws OpenGLException
s
- The s texture coordinate
public final void glNormal3f(float nx, float ny, float nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void normal(float nx, float ny, float nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void glFlush() throws OpenGLException
public final void flush() throws OpenGLException
public final void glNormal3i(int nx, int ny, int nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void normal(int nx, int ny, int nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void glCopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border) throws OpenGLException
target
- The constant GL_TEXTURE_2Dlevel
- The mipmap level-of-detailinternalFormat
- The internal format of the texture datax
- The x-coord of the bottom-left of the framebuffer rectangley
- The y-coord of the bottom-left of the framebuffer rectanglewidth
- The width of the rectangle to copyheight
- The height of the rectangle to copyborder
- The width of the texture border
public final void copyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border) throws OpenGLException
target
- The constant GL_TEXTURE_2Dlevel
- The mipmap level-of-detailinternalFormat
- The internal format of the texture datax
- The x-coord of the bottom-left of the framebuffer rectangley
- The y-coord of the bottom-left of the framebuffer rectanglewidth
- The width of the rectangle to copyheight
- The height of the rectangle to copyborder
- The width of the texture border
public final void glEnable(int cap) throws OpenGLException
cap
- The capability to turn on
public final void enable(int cap) throws OpenGLException
cap
- The capability to turn on
public final void glRectdv(double[] v1, double[] v2) throws OpenGLException
v1
- Buffer containing two coordinates for the first corner of the rectanglev2
- Buffer containing two coordinates for the second corner of the rectangle
public final void rect(double[] v1, double[] v2) throws OpenGLException
v1
- Buffer containing two coordinates for the first corner of the rectanglev2
- Buffer containing two coordinates for the second corner of the rectangle
public final void glColor3ub(byte r, byte g, byte b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colour
public final void glEvalCoord1dv(double[] u) throws OpenGLException
u
- Pointer to the domain coordinate
public final void glGetTexGeniv(int coord, int pname, int[] params) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies the symbolic name of the value or values to be returnedparams
- Returns the requested data
public final void getTexGen(int coord, int pname, int[] params) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies the symbolic name of the value or values to be returnedparams
- Returns the requested data
public final void glIndexs(short c) throws OpenGLException
c
- The colour index value
public final void index(short c) throws OpenGLException
c
- The colour index value
public final void glTexCoord1s(short s) throws OpenGLException
s
- The s texture coordinate
public final void glTexGend(int coord, int pname, double param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void texGen(int coord, int pname, double param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void glNormal3s(short nx, short ny, short nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void normal(short nx, short ny, short nz) throws OpenGLException
nx
- The x-coordinate of the normal vectorny
- The y-coordinate of the normal vectornz
- The z-coordinate of the normal vector
public final void glColor3ui(int r, int g, int b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colour
public final void glTexGenf(int coord, int pname, float param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void texGen(int coord, int pname, float param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void glBlendFunc(int sfactor, int dfactor) throws OpenGLException
sfactor
- Indicates how source blending factor is to be computeddfactor
- Indicates how to compute destination blending factor
public final void blendFunc(int sfactor, int dfactor) throws OpenGLException
sfactor
- Indicates how source blending factor is to be computeddfactor
- Indicates how to compute destination blending factor
public final void glAlphaFunc(int func, float value) throws OpenGLException
func
- The comparison function for the alpha testvalue
- The reference value for the test
public final void alphaFunc(int func, float value) throws OpenGLException
func
- The comparison function for the alpha testvalue
- The reference value for the test
public final void glTexGeni(int coord, int pname, int param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void texGen(int coord, int pname, int param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void glPixelMapuiv(int map, int mapsize, int[] values) throws OpenGLException
map
- Specifies a symbolic map namemapsize
- Specifies the size of the map being definedvalues
- Specifies an array of `mapsize' values
public final void pixelMap(int map, int mapsize, int[] values) throws OpenGLException
map
- Specifies a symbolic map namemapsize
- Specifies the size of the map being definedvalues
- Specifies an array of `mapsize' values
public final void glMaterialf(int face, int pname, float param) throws OpenGLException
face
- Specify which faces are being updatedpname
- Specifies the single-valued material parameter to be updatedparam
- Specifies the value that parameter GL_SHININESS will be set to
public final void material(int face, int pname, float param) throws OpenGLException
face
- Specify which faces are being updatedpname
- Specifies the single-valued material parameter to be updatedparam
- Specifies the value that parameter GL_SHININESS will be set to
public final void glGetBooleanv(int pname, boolean[] params) throws OpenGLException
pname
- A symbolic constant signifying which state variable to returnparams
- The buffer to fill with the requested data
public final void getBoolean(int pname, boolean[] params) throws OpenGLException
pname
- A symbolic constant signifying which state variable to returnparams
- The buffer to fill with the requested data
public final void glGetTexEnvfv(int target, int pname, float[] params) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparams
- Returns the requested data
public final void getTexEnv(int target, int pname, float[] params) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparams
- Returns the requested data
public final void glMateriali(int face, int pname, int param) throws OpenGLException
face
- Specify which faces are being updatedpname
- Specifies the single-valued material parameter to be updatedparam
- Specifies the value that parameter GL_SHININESS will be set to
public final void material(int face, int pname, int param) throws OpenGLException
face
- Specify which faces are being updatedpname
- Specifies the single-valued material parameter to be updatedparam
- Specifies the value that parameter GL_SHININESS will be set to
public final void glClearStencil(int s) throws OpenGLException
s
- The clearing value to set the stencil buffer to
public final void clearStencil(int s) throws OpenGLException
s
- The clearing value to set the stencil buffer to
public final void glMatrixMode(int mode) throws OpenGLException
mode
- Specifies which matrix stack is the target for subsequent matrix operations
public final void matrixMode(int mode) throws OpenGLException
mode
- Specifies which matrix stack is the target for subsequent matrix operations
public final void glColor3us(short r, short g, short b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colour
public final void glColor4sv(short[] v) throws OpenGLException
v
- An array containing the 4 component colour values
public final void glTexCoord2d(double s, double t) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinate
public final void glStencilFunc(int func, int ref, int mask) throws OpenGLException
func
- Specifies the test functionref
- The reference value for the stencil testmask
- Specifies a mask that is ANDed with the reference value and the stored stencil value
public final void stencilFunc(int func, int ref, int mask) throws OpenGLException
func
- Specifies the test functionref
- The reference value for the stencil testmask
- Specifies a mask that is ANDed with the reference value and the stored stencil value
public final void glTexCoord2f(float s, float t) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinate
public final void glTexCoord2i(int s, int t) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinate
public final void glLightModelfv(int pname, float[] params) throws OpenGLException
pname
- The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDEparams
- The value of the chosen parameter
public final void lightModel(int pname, float[] params) throws OpenGLException
pname
- The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDEparams
- The value of the chosen parameter
public final void glPushAttrib(int mask) throws OpenGLException
mask
- Specifies a mask which indicates which attributes to push
public final void pushAttrib(int mask) throws OpenGLException
mask
- Specifies a mask which indicates which attributes to push
public final void glClear(int mask) throws OpenGLException
mask
- Bitwise logical `or' of the buffers that should be cleared
public final void clear(int mask) throws OpenGLException
mask
- Bitwise logical `or' of the buffers that should be cleared
public final void glPolygonStipple(byte[] mask) throws OpenGLException
mask
- Sets the polygon stipple
public final void polygonStipple(byte[] mask) throws OpenGLException
mask
- Sets the polygon stipple
public final void glGetMaterialfv(int face, int pname, float[] params) throws OpenGLException
face
- Specifies which of the two materials are being queriedpname
- Specifies the material parameter to returnparams
- Returns the requested data
public final void getMaterial(int face, int pname, float[] params) throws OpenGLException
face
- Specifies which of the two materials are being queriedpname
- Specifies the material parameter to returnparams
- Returns the requested data
public final void glTexCoord2s(short s, short t) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinate
public final void glLogicOp(int opcode) throws OpenGLException
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
public final void logicOp(int opcode) throws OpenGLException
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
public final void glColor4dv(double[] v) throws OpenGLException
v
- An array containing the 4 component colour values
public final void glColor3fv(float[] v) throws OpenGLException
v
- An array containing the 3 component colour values
public final void glCopyPixels(int x, int y, int width, int height, int buffer) throws OpenGLException
x
- x-coord of the bottom-left of the framebuffer rectangley
- y-coord of the bottom-left of the framebuffer rectanglewidth
- The width of the framebuffer rectangle to copyheight
- The height of the framebuffer rectangle to copybuffer
- The framebuffer to use ( either GL_COLOR, GL_STENCIL or GL_DEPTH )
public final void copyPixels(int x, int y, int width, int height, int buffer) throws OpenGLException
x
- x-coord of the bottom-left of the framebuffer rectangley
- y-coord of the bottom-left of the framebuffer rectanglewidth
- The width of the framebuffer rectangle to copyheight
- The height of the framebuffer rectangle to copybuffer
- The framebuffer to use ( either GL_COLOR, GL_STENCIL or GL_DEPTH )
public final void glColor3usv(short[] v) throws OpenGLException
v
- An array containing the 3 component colour values
public final void glPopClientAttrib() throws OpenGLException
public final void popClientAttrib() throws OpenGLException
public final void glDisableClientState(int array) throws OpenGLException
array
- Specifies the capability to disable
public final void disableClientState(int array) throws OpenGLException
array
- Specifies the capability to disable
public final void glPushMatrix() throws OpenGLException
public final void pushMatrix() throws OpenGLException
public final void glRasterPos4iv(int[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glEnd() throws OpenGLException
public final void end() throws OpenGLException
public final void glLoadMatrixd(double[] m) throws OpenGLException
m
- Sixteen values that comprise a 4x4 matrix
public final void loadMatrix(double[] m) throws OpenGLException
m
- Sixteen values that comprise a 4x4 matrix
public final void glLoadMatrixf(float[] m) throws OpenGLException
m
- Sixteen values that comprise a 4x4 matrix
public final void loadMatrix(float[] m) throws OpenGLException
m
- Sixteen values that comprise a 4x4 matrix
public final void glGetPixelMapfv(int map, float[] values) throws OpenGLException
map
- Specifies the name of the pixel map to returnvalues
- Returns the pixel map contents
public final void getPixelMap(int map, float[] values) throws OpenGLException
map
- Specifies the name of the pixel map to returnvalues
- Returns the pixel map contents
public final void glBitmap(int width, int height, float xbo, float ybo, float xbi, float ybi, byte[] bitmap) throws OpenGLException
width
- The width of the bitmapheight
- The height of the bitmapxbo
- X offset from the originybo
- Y offset from the originxbi
- X increment added to the raster position after bitmap is rasterizedybi
- Y increment added to the raster position after the bitmap is rasterizedbitmap
- The bitmap data
public final void bitmap(int width, int height, float xbo, float ybo, float xbi, float ybi, byte[] bitmap) throws OpenGLException
width
- The width of the bitmapheight
- The height of the bitmapxbo
- X offset from the originybo
- Y offset from the originxbi
- X increment added to the raster position after bitmap is rasterizedybi
- Y increment added to the raster position after the bitmap is rasterizedbitmap
- The bitmap data
public final void glTexCoord3d(double s, double t, double r) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinate
public final void glTexCoord3f(float s, float t, float r) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinate
public final void glIndexsv(short[] c) throws OpenGLException
c
- Array of colour index values to set
public final void index(short[] c) throws OpenGLException
c
- Array of colour index values to set
public final void glDepthMask(boolean flag) throws OpenGLException
flag
- If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled
public final void depthMask(boolean flag) throws OpenGLException
flag
- If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled
public final void glDepthMask(byte flag) throws OpenGLException
flag
- If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled
public final void depthMask(byte flag) throws OpenGLException
flag
- If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled
public final void glDepthMask(int flag) throws OpenGLException
flag
- If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled
public final void depthMask(int flag) throws OpenGLException
flag
- If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled
public final void glTexCoord3i(int s, int t, int r) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinate
public final void glPushClientAttrib(int mask) throws OpenGLException
mask
- Specifies a mask which indicates which attributes to push onto the client stack
public final void pushClientAttrib(int mask) throws OpenGLException
mask
- Specifies a mask which indicates which attributes to push onto the client stack
public final void glEvalMesh1(int mode, int p1, int p2) throws OpenGLException
mode
- The drawing style of the curve either GL_POINT or GL_LINEp1
- The starting value of the curve rangep2
- The finishing value of the curve range
public final void evalMesh(int mode, int p1, int p2) throws OpenGLException
mode
- The drawing style of the curve either GL_POINT or GL_LINEp1
- The starting value of the curve rangep2
- The finishing value of the curve range
public final void glEvalMesh2(int mode, int i1, int i2, int j1, int j2) throws OpenGLException
mode
- The draw style of the mesh. Either GL_FILL, GL_POINT or GL_LINEi1
- The starting value for the x-dimension rangei2
- The finishing value of the x-dimension rangej1
- The starting value for the y-dimension rangej2
- The finishing value for the y-dimension range
public final void evalMesh(int mode, int i1, int i2, int j1, int j2) throws OpenGLException
mode
- The draw style of the mesh. Either GL_FILL, GL_POINT or GL_LINEi1
- The starting value for the x-dimension rangei2
- The finishing value of the x-dimension rangej1
- The starting value for the y-dimension rangej2
- The finishing value for the y-dimension range
public final void glRectfv(float[] v1, float[] v2) throws OpenGLException
v1
- Buffer containing two coordinates for the first corner of the rectanglev2
- Buffer containing two coordinates for the second corner of the rectangle
public final void rect(float[] v1, float[] v2) throws OpenGLException
v1
- Buffer containing two coordinates for the first corner of the rectanglev2
- Buffer containing two coordinates for the second corner of the rectangle
public final void glColor4ub(byte r, byte g, byte b, byte a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colour
public final void glEvalCoord2dv(double[] values) throws OpenGLException
values
- Pointer to an array of domain coordinates
public final void glEvalCoord1fv(float[] u) throws OpenGLException
u
- Pointer to the domain coordinate
public final void glTexCoord3s(short s, short t, short r) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinate
public final void glColorMaterial(int face, int mode) throws OpenGLException
face
- The material face to be trackedmode
- The material mode to be tracked
public final void colorMaterial(int face, int mode) throws OpenGLException
face
- The material face to be trackedmode
- The material mode to be tracked
public final void glColor4ui(int r, int g, int b, int a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colour
public final void glGetDoublev(int pname, double[] params) throws OpenGLException
pname
- A symbolic constant signifying which state variable to returnparams
- The buffer to fill with the requested data
public final void getDouble(int pname, double[] params) throws OpenGLException
pname
- A symbolic constant signifying which state variable to returnparams
- The buffer to fill with the requested data
public final void glIndexdv(double[] c) throws OpenGLException
c
- Array of colour index values to set
public final void index(double[] c) throws OpenGLException
c
- Array of colour index values to set
public final void glColor3b(byte r, byte g, byte b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colour
public final void glColor3d(double r, double g, double b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colour
public final void glGetLightiv(int light, int pname, int[] params) throws OpenGLException
light
- Specifies a light sourcepname
- Specifies a light source parameter for `light'params
- Returns the requested data
public final void getLight(int light, int pname, int[] params) throws OpenGLException
light
- Specifies a light sourcepname
- Specifies a light source parameter for `light'params
- Returns the requested data
public final void glColor3f(float r, float g, float b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colour
public final void glColor3i(int r, int g, int b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colour
public final void glColor4us(short r, short g, short b, short a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colour
public final void glFogiv(int pname, int[] params) throws OpenGLException
pname
- The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_ENDparams
- The values of the given parameter in `pname'
public final void fog(int pname, int[] params) throws OpenGLException
pname
- The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_ENDparams
- The values of the given parameter in `pname'
public final void glStencilMask(int mask) throws OpenGLException
mask
- A bit mask used to control writing of specific bits into the stencil buffer
public final void stencilMask(int mask) throws OpenGLException
mask
- A bit mask used to control writing of specific bits into the stencil buffer
public final void glTexCoord4d(double s, double t, double r, double q) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateq
- The q texture coordinate
public final void glColor4ubv(byte[] v) throws OpenGLException
v
- An array containing the 4 component colour values
public final void glTexCoord4f(float s, float t, float r, float q) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateq
- The q texture coordinate
public final void glTexCoord1sv(short[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glTexCoord4i(int s, int t, int r, int q) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateq
- The q texture coordinate
public final void glColor3s(short r, short g, short b) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colour
public final void glClearColor(float red, float green, float blue, float alpha) throws OpenGLException
red
- The red component of the clear valuegreen
- The green component of the clear valueblue
- The blue component of the clear valuealpha
- The alpha component of the clear value
public final void clearColor(float red, float green, float blue, float alpha) throws OpenGLException
red
- The red component of the clear valuegreen
- The green component of the clear valueblue
- The blue component of the clear valuealpha
- The alpha component of the clear value
public final void glPixelZoom(float xfactor, float yfactor) throws OpenGLException
xfactor
- The x zoom factoryfactor
- The y zoom factor
public final void pixelZoom(float xfactor, float yfactor) throws OpenGLException
xfactor
- The x zoom factoryfactor
- The y zoom factor
public final void glGetFloatv(int pname, float[] params) throws OpenGLException
pname
- A symbolic constant signifying which state variable to returnparams
- The buffer to fill with the requested data
public final void getFloat(int pname, float[] params) throws OpenGLException
pname
- A symbolic constant signifying which state variable to returnparams
- The buffer to fill with the requested data
public final void glTexCoord4s(short s, short t, short r, short q) throws OpenGLException
s
- The s texture coordinatet
- The t texture coordinater
- The r texture coordinateq
- The q texture coordinate
public final void glColor4fv(float[] v) throws OpenGLException
v
- An array containing the 4 component colour values
public final void glIndexub(byte c) throws OpenGLException
c
- The colour index value
public final void index(byte c) throws OpenGLException
c
- The colour index value
public final void glTexCoord1dv(double[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glColor4b(byte r, byte g, byte b, byte a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colour
public final void glColor4d(double r, double g, double b, double a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colour
public final void glFrontFace(int mode) throws OpenGLException
mode
- The mode to determine front-facing polygons. The default is GL_CCW, ie, counter-clockwise
public final void frontFace(int mode) throws OpenGLException
mode
- The mode to determine front-facing polygons. The default is GL_CCW, ie, counter-clockwise
public final void glColor4f(float r, float g, float b, float a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colour
public final void glGetTexEnviv(int target, int pname, int[] params) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparams
- Returns the requested data
public final void getTexEnv(int target, int pname, int[] params) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparams
- Returns the requested data
public final void glColor4i(int r, int g, int b, int a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colour
public final void glLoadName(int name) throws OpenGLException
name
- The name to load onto the name stack
public final void loadName(int name) throws OpenGLException
name
- The name to load onto the name stack
public final void glBegin(int mode) throws OpenGLException
mode
- The type of primitive to begin defining
public final void begin(int mode) throws OpenGLException
mode
- The type of primitive to begin defining
public final void glColor4s(short r, short g, short b, short a) throws OpenGLException
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the coloura
- The alpha component of the colour
public final void glLightModeliv(int pname, int[] params) throws OpenGLException
pname
- The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDEparams
- The value of the chosen parameter
public final void lightModel(int pname, int[] params) throws OpenGLException
pname
- The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDEparams
- The value of the chosen parameter
public final void glEvalCoord2fv(float[] values) throws OpenGLException
values
- Pointer to an array of domain coordinates
public final void glGetMaterialiv(int face, int pname, int[] params) throws OpenGLException
face
- Specifies which of the two materials are being queriedpname
- Specifies the material parameter to returnparams
- Returns the requested data
public final void getMaterial(int face, int pname, int[] params) throws OpenGLException
face
- Specifies which of the two materials are being queriedpname
- Specifies the material parameter to returnparams
- Returns the requested data
public final void glEdgeFlag(boolean flag) throws OpenGLException
flag
- If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon
public final void edgeFlag(boolean flag) throws OpenGLException
flag
- If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon
public final void glEdgeFlag(byte flag) throws OpenGLException
flag
- If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon
public final void edgeFlag(byte flag) throws OpenGLException
flag
- If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon
public final void glEdgeFlag(int flag) throws OpenGLException
flag
- If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon
public final void edgeFlag(int flag) throws OpenGLException
flag
- If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon
public final void glColor4usv(short[] v) throws OpenGLException
v
- An array containing the 4 component colour values
public final void glColor3iv(int[] v) throws OpenGLException
v
- An array containing the 3 component colour values
public final void glTranslated(double x, double y, double z) throws OpenGLException
x
- The x component of a translation vectory
- The y component of a translation vectorz
- The z component of a translation vector
public final void translate(double x, double y, double z) throws OpenGLException
x
- The x component of a translation vectory
- The y component of a translation vectorz
- The z component of a translation vector
public final void glTranslatef(float x, float y, float z) throws OpenGLException
x
- The x component of a translation vectory
- The y component of a translation vectorz
- The z component of a translation vector
public final void translate(float x, float y, float z) throws OpenGLException
x
- The x component of a translation vectory
- The y component of a translation vectorz
- The z component of a translation vector
public final void glIndexfv(float[] c) throws OpenGLException
c
- Array of colour index values to set
public final void index(float[] c) throws OpenGLException
c
- Array of colour index values to set
public final void glNormal3bv(byte[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void normal(byte[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void glClipPlane(int plane, double[] equation) throws OpenGLException
plane
- Specifies the clipping plane to defineequation
- The four co-efficients of the plane equation used as a clipping plane
public final void clipPlane(int plane, double[] equation) throws OpenGLException
plane
- Specifies the clipping plane to defineequation
- The four co-efficients of the plane equation used as a clipping plane
public final void glTexEnvf(int target, int pname, float param) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparam
- Specifies symbolic constants
public final void texEnv(int target, int pname, float param) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparam
- Specifies symbolic constants
public final void glTexEnvi(int target, int pname, int param) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparam
- Specifies symbolic constants
public final void texEnv(int target, int pname, int param) throws OpenGLException
target
- Specifies a texture environmentpname
- Specifies the symbolic name of a texture environment parameterparam
- Specifies symbolic constants
public final void glTexCoord2sv(short[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glNewList(int list, int mode) throws OpenGLException
list
- The display list namemode
- Specifies the compilation mode
public final void newList(int list, int mode) throws OpenGLException
list
- The display list namemode
- Specifies the compilation mode
public final void glPixelTransferf(int pname, float param) throws OpenGLException
pname
- The symbolic name of the parameter to be setparam
- The value that `pname' is to be set to
public final void pixelTransfer(int pname, float param) throws OpenGLException
pname
- The symbolic name of the parameter to be setparam
- The value that `pname' is to be set to
public final void glRectiv(int[] v1, int[] v2) throws OpenGLException
v1
- Buffer containing two coordinates for the first corner of the rectanglev2
- Buffer containing two coordinates for the second corner of the rectangle
public final void rect(int[] v1, int[] v2) throws OpenGLException
v1
- Buffer containing two coordinates for the first corner of the rectanglev2
- Buffer containing two coordinates for the second corner of the rectangle
public final void glPixelTransferi(int pname, int param) throws OpenGLException
pname
- The symbolic name of the parameter to be setparam
- The value that `pname' is to be set to
public final void pixelTransfer(int pname, int param) throws OpenGLException
pname
- The symbolic name of the parameter to be setparam
- The value that `pname' is to be set to
public final void glStencilOp(int fail, int zfail, int zpass) throws OpenGLException
fail
- Specifies an action to take when the stencil test failszfail
- Specifies an action when the stencil test passes but the depth test failszpass
- Specifies an action to take when both the stencil and depth tests pass
public final void stencilOp(int fail, int zfail, int zpass) throws OpenGLException
fail
- Specifies an action to take when the stencil test failszfail
- Specifies an action when the stencil test passes but the depth test failszpass
- Specifies an action to take when both the stencil and depth tests pass
public final void glTexCoord2dv(double[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glEvalCoord1d(double u) throws OpenGLException
u
- The domain coordinate
public final void glGetPixelMapuiv(int map, int[] values) throws OpenGLException
map
- Specifies the name of the pixel map to returnvalues
- Returns the pixel map contents
public final void getPixelMap(int map, int[] values) throws OpenGLException
map
- Specifies the name of the pixel map to returnvalues
- Returns the pixel map contents
public final void glTexCoord1fv(float[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glShadeModel(int mode) throws OpenGLException
mode
- The symbolic value representing a shading technique
public final void shadeModel(int mode) throws OpenGLException
mode
- The symbolic value representing a shading technique
public final void glEvalCoord1f(float u) throws OpenGLException
u
- The domain coordinate
public final void glVertex2sv(short[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glClearDepth(double depth) throws OpenGLException
depth
- The value to which the depth buffer is cleared to
public final void clearDepth(double depth) throws OpenGLException
depth
- The value to which the depth buffer is cleared to
public final void glLightf(int light, int pname, float param) throws OpenGLException
light
- The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7pname
- 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_ATTENUATIONparam
- The value of the chosen parameter
public final void light(int light, int pname, float param) throws OpenGLException
light
- The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7pname
- 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_ATTENUATIONparam
- The value of the chosen parameter
public final void glLighti(int light, int pname, int param) throws OpenGLException
light
- The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7pname
- 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_ATTENUATIONparam
- The value of the chosen parameter
public final void light(int light, int pname, int param) throws OpenGLException
light
- The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7pname
- 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_ATTENUATIONparam
- The value of the chosen parameter
public final void glIndexMask(int mask) throws OpenGLException
mask
- The control mask for the colour index buffer
public final void indexMask(int mask) throws OpenGLException
mask
- The control mask for the colour index buffer
public final void glTexGendv(int coord, int pname, double[] param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void texGen(int coord, int pname, double[] param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void glNormal3sv(short[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void normal(short[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void glGetPolygonStipple(byte[] mask) throws OpenGLException
mask
- Returns the stipple pattern
public final void getPolygonStipple(byte[] mask) throws OpenGLException
mask
- Returns the stipple pattern
public final void glVertex2dv(double[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glCopyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width) throws OpenGLException
target
- The constant GL_TEXTURE_1Dlevel
- The mipmap level-of-detailxoffset
- The texel offset of where to put the subimage within the existing texture arrayx
- The x-coord of the pixel rectangley
- The y-coord of the pixel rectanglewidth
- The number of pixels to copy
public final void copyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width) throws OpenGLException
target
- The constant GL_TEXTURE_1Dlevel
- The mipmap level-of-detailxoffset
- The texel offset of where to put the subimage within the existing texture arrayx
- The x-coord of the pixel rectangley
- The y-coord of the pixel rectanglewidth
- The number of pixels to copy
public final void glBindTexture(int target, int textureName) throws OpenGLException
target
- Dimensionality of texture to bindtextureName
- The name to be given to the texture
public final void bindTexture(int target, int textureName) throws OpenGLException
target
- Dimensionality of texture to bindtextureName
- The name to be given to the texture
public final void glPopName() throws OpenGLException
public final void popName() throws OpenGLException
public final void glColor4iv(int[] v) throws OpenGLException
v
- An array containing the 4 component colour values
public final void glDisable(int cap) throws OpenGLException
cap
- The capability to switch off
public final void disable(int cap) throws OpenGLException
cap
- The capability to switch off
public final void glEvalCoord2d(double u, double v) throws OpenGLException
u
- First domain coordinatev
- Second domain coordinate
public final void glPopAttrib() throws OpenGLException
public final void popAttrib() throws OpenGLException
public final void glNormal3dv(double[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void normal(double[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void glEvalCoord2f(float u, float v) throws OpenGLException
u
- First domain coordinatev
- Second domain coordinate
public final void glGetMapdv(int target, int query, double[] v) throws OpenGLException
target
- Specifies the symbolic constant of a mapquery
- Specifies which parameter to returnv
- Returns the requested data
public final void getMap(int target, int query, double[] v) throws OpenGLException
target
- Specifies the symbolic constant of a mapquery
- Specifies which parameter to returnv
- Returns the requested data
public final void glSelectBuffer(int size, int[] buffer) throws OpenGLException
size
- The size of `buffer'buffer
- Returns the selection data
public final void selectBuffer(int size, int[] buffer) throws OpenGLException
size
- The size of `buffer'buffer
- Returns the selection data
public final void glFogf(int pname, float param) throws OpenGLException
pname
- The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_ENDparam
- The value of the given parameter in `pname'
public final void fog(int pname, float param) throws OpenGLException
pname
- The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_ENDparam
- The value of the given parameter in `pname'
public final void glEvalPoint1(int i) throws OpenGLException
i
- Specifies the integer value for grid domain variable `i'
public final void evalPoint(int i) throws OpenGLException
i
- Specifies the integer value for grid domain variable `i'
public final void glTexCoord3sv(short[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glEvalPoint2(int i, int j) throws OpenGLException
i
- Specifies the integer value for grid domain variable `i'j
- Specifies the integer value for grid domain variable `j'
public final void evalPoint(int i, int j) throws OpenGLException
i
- Specifies the integer value for grid domain variable `i'j
- Specifies the integer value for grid domain variable `j'
public final void glPopMatrix() throws OpenGLException
public final void popMatrix() throws OpenGLException
public final void glFogi(int pname, int param) throws OpenGLException
pname
- The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_ENDparam
- The value of the given parameter in `pname'
public final void fog(int pname, int param) throws OpenGLException
pname
- The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_ENDparam
- The value of the given parameter in `pname'
public final void glScissor(int x, int y, int width, int height) throws OpenGLException
x
- The x-coordinate of the lower-left corner of the scissor boxy
- The y-coordinate of the lower-left corner of the scissor boxwidth
- The width of the scissor boxheight
- The height of the scissor box
public final void scissor(int x, int y, int width, int height) throws OpenGLException
x
- The x-coordinate of the lower-left corner of the scissor boxy
- The y-coordinate of the lower-left corner of the scissor boxwidth
- The width of the scissor boxheight
- The height of the scissor box
public final void glColor3uiv(int[] v) throws OpenGLException
v
- An array containing the 3 component colour values
public final void glArrayElement(int ith) throws OpenGLException
ith
- The array index to obtain information for
public final void arrayElement(int ith) throws OpenGLException
ith
- The array index to obtain information for
public final void glColorMask(boolean red, boolean green, boolean blue, boolean alpha) throws OpenGLException
red
- The red component of the colour maskgreen
- The green component of the colour maskblue
- The blue component of the colour maskalpha
- The alpha component of the colour mask
public final void colorMask(boolean red, boolean green, boolean blue, boolean alpha) throws OpenGLException
red
- The red component of the colour maskgreen
- The green component of the colour maskblue
- The blue component of the colour maskalpha
- The alpha component of the colour mask
public final void glColorMask(byte red, byte green, byte blue, byte alpha) throws OpenGLException
red
- The red component of the colour maskgreen
- The green component of the colour maskblue
- The blue component of the colour maskalpha
- The alpha component of the colour mask
public final void colorMask(byte red, byte green, byte blue, byte alpha) throws OpenGLException
red
- The red component of the colour maskgreen
- The green component of the colour maskblue
- The blue component of the colour maskalpha
- The alpha component of the colour mask
public final void glColorMask(int red, int green, int blue, int alpha) throws OpenGLException
red
- The red component of the colour maskgreen
- The green component of the colour maskblue
- The blue component of the colour maskalpha
- The alpha component of the colour mask
public final void colorMask(int red, int green, int blue, int alpha) throws OpenGLException
red
- The red component of the colour maskgreen
- The green component of the colour maskblue
- The blue component of the colour maskalpha
- The alpha component of the colour mask
public final void glScaled(double x, double y, double z) throws OpenGLException
x
- The scale factor along the x axisy
- The scale factor along the y axisz
- The scale factor along the z axis
public final void scale(double x, double y, double z) throws OpenGLException
x
- The scale factor along the x axisy
- The scale factor along the y axisz
- The scale factor along the z axis
public final void glTexParameterfv(int target, int pname, float[] param) throws OpenGLException
target
- Specifies the target texturepname
- Specifies the name of a texture parameterparam
- Specifies the value or values of `pname'
public final void texParameter(int target, int pname, float[] param) throws OpenGLException
target
- Specifies the target texturepname
- Specifies the name of a texture parameterparam
- Specifies the value or values of `pname'
public final void glScalef(float x, float y, float z) throws OpenGLException
x
- The scale factor along the x axisy
- The scale factor along the y axisz
- The scale factor along the z axis
public final void scale(float x, float y, float z) throws OpenGLException
x
- The scale factor along the x axisy
- The scale factor along the y axisz
- The scale factor along the z axis
public final void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) throws OpenGLException
target
- The constant GL_TEXTURE_2Dlevel
- The mipmap level-of-detailxoffset
- The x texel offset of where to place the subimageyoffset
- The y texel offset of where to place the subimagex
- The x-coord of the bottom-left of the pixel rectangley
- The y-coord of the bottom-left of the pixel rectanglewidth
- The width of the subimage rectangle to copyheight
- The height of the subimage rectangle
public final void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) throws OpenGLException
target
- The constant GL_TEXTURE_2Dlevel
- The mipmap level-of-detailxoffset
- The x texel offset of where to place the subimageyoffset
- The y texel offset of where to place the subimagex
- The x-coord of the bottom-left of the pixel rectangley
- The y-coord of the bottom-left of the pixel rectanglewidth
- The width of the subimage rectangle to copyheight
- The height of the subimage rectangle
public final void glRectd(double x1, double y1, double x2, double y2) throws OpenGLException
x1
- The x-coordinate of the first corner of the rectangley1
- The y-coordinate of the first corner of the rectanglex2
- The x-coordinate of the second corner of the rectangle opposite to the firsty2
- The y-coordinate of the second coordinate of the rectangle opposite to the first
public final void rect(double x1, double y1, double x2, double y2) throws OpenGLException
x1
- The x-coordinate of the first corner of the rectangley1
- The y-coordinate of the first corner of the rectanglex2
- The x-coordinate of the second corner of the rectangle opposite to the firsty2
- The y-coordinate of the second coordinate of the rectangle opposite to the first
public final void glRectf(float x1, float y1, float x2, float y2) throws OpenGLException
x1
- The x-coordinate of the first corner of the rectangley1
- The y-coordinate of the first corner of the rectanglex2
- The x-coordinate of the second corner of the rectangle opposite to the firsty2
- The y-coordinate of the second coordinate of the rectangle opposite to the first
public final void rect(float x1, float y1, float x2, float y2) throws OpenGLException
x1
- The x-coordinate of the first corner of the rectangley1
- The y-coordinate of the first corner of the rectanglex2
- The x-coordinate of the second corner of the rectangle opposite to the firsty2
- The y-coordinate of the second coordinate of the rectangle opposite to the first
public final void glTexCoord3dv(double[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glTexCoord2fv(float[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glIndexiv(int[] c) throws OpenGLException
c
- Array of colour index values to set
public final void index(int[] c) throws OpenGLException
c
- Array of colour index values to set
public final void glRecti(int x1, int y1, int x2, int y2) throws OpenGLException
x1
- The x-coordinate of the first corner of the rectangley1
- The y-coordinate of the first corner of the rectanglex2
- The x-coordinate of the second corner of the rectangle opposite to the firsty2
- The y-coordinate of the second coordinate of the rectangle opposite to the first
public final void rect(int x1, int y1, int x2, int y2) throws OpenGLException
x1
- The x-coordinate of the first corner of the rectangley1
- The y-coordinate of the first corner of the rectanglex2
- The x-coordinate of the second corner of the rectangle opposite to the firsty2
- The y-coordinate of the second coordinate of the rectangle opposite to the first
public final void glVertex3sv(short[] z) throws OpenGLException
z
- Buffer containing vertex data
public final void glRasterPos2sv(short[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glFeedbackBuffer(int size, int type, float[] buffer) throws OpenGLException
size
- The maximum number of values storable in the feedback arraytype
- 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_TEXTUREbuffer
- The feedback buffer itself
public final void feedbackBuffer(int size, int type, float[] buffer) throws OpenGLException
size
- The maximum number of values storable in the feedback arraytype
- 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_TEXTUREbuffer
- The feedback buffer itself
public final void glRects(short x1, short y1, short x2, short y2) throws OpenGLException
x1
- The x-coordinate of the first corner of the rectangley1
- The y-coordinate of the first corner of the rectanglex2
- The x-coordinate of the second corner of the rectangle opposite to the firsty2
- The y-coordinate of the second coordinate of the rectangle opposite to the first
public final void rect(short x1, short y1, short x2, short y2) throws OpenGLException
x1
- The x-coordinate of the first corner of the rectangley1
- The y-coordinate of the first corner of the rectanglex2
- The x-coordinate of the second corner of the rectangle opposite to the firsty2
- The y-coordinate of the second coordinate of the rectangle opposite to the first
public final void glGetTexLevelParameterfv(int target, int level, int pname, float[] params) throws OpenGLException
target
- The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2Dlevel
- The mipmap level-of-detailpname
- 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_SIZEparams
- The buffer into which the queried values are returned
public final void getTexLevelParameter(int target, int level, int pname, float[] params) throws OpenGLException
target
- The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2Dlevel
- The mipmap level-of-detailpname
- 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_SIZEparams
- The buffer into which the queried values are returned
public final void glTexGenfv(int coord, int pname, float[] param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void texGen(int coord, int pname, float[] param) throws OpenGLException
coord
- Specifies a texture coordinatepname
- Specifies a symbolic coordinate describing the texture generation functionparam
- Specifies a texture generation parameter
public final void glVertex3dv(double[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glVertex2fv(float[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glPolygonMode(int face, int mode) throws OpenGLException
face
- Specifies the polygons that `mode' applies tomode
- Specifies how polygons will be rasterized
public final void polygonMode(int face, int mode) throws OpenGLException
face
- Specifies the polygons that `mode' applies tomode
- Specifies how polygons will be rasterized
public final void glRasterPos2dv(double[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) throws OpenGLException
target
- level
- xoffset
- yoffset
- zoffset
- x
- y
- width
- height
- public final void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) throws OpenGLException
target
- level
- xoffset
- yoffset
- zoffset
- x
- y
- width
- height
- public final void glHint(int target, int mode) throws OpenGLException
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_HINTmode
- The value to set the hint to
public final void hint(int target, int mode) throws OpenGLException
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_HINTmode
- The value to set the hint to
public final void glTexParameterf(int target, int pname, float param) throws OpenGLException
target
- Specifies the target texturepname
- Specifies the name of a texture parameterparam
- Specifies the value or values of `pname'
public final void texParameter(int target, int pname, float param) throws OpenGLException
target
- Specifies the target texturepname
- Specifies the name of a texture parameterparam
- Specifies the value or values of `pname'
public final void glTexCoord1iv(int[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glCallList(int list) throws OpenGLException
list
- The display list identifier to execute
public final void callList(int list) throws OpenGLException
list
- The display list identifier to execute
public final void glNormal3fv(float[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void normal(float[] v) throws OpenGLException
v
- Specifies a pointer to an array of three elements
public final void glPassThrough(float token) throws OpenGLException
token
- Specifies a marker value to be placed in the feedback buffer
public final void passThrough(float token) throws OpenGLException
token
- Specifies a marker value to be placed in the feedback buffer
public final void glRasterPos2d(double x, double y) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster position
public final void glGetMapfv(int target, int query, float[] v) throws OpenGLException
target
- Specifies the symbolic constant of a mapquery
- Specifies which parameter to returnv
- Returns the requested data
public final void getMap(int target, int query, float[] v) throws OpenGLException
target
- Specifies the symbolic constant of a mapquery
- Specifies which parameter to returnv
- Returns the requested data
public final void glTexParameteri(int target, int pname, int param) throws OpenGLException
target
- Specifies the target texturepname
- Specifies the name of a texture parameterparam
- Specifies the value or values of `pname'
public final void texParameter(int target, int pname, int param) throws OpenGLException
target
- Specifies the target texturepname
- Specifies the name of a texture parameterparam
- Specifies the value or values of `pname'
public final void glRasterPos2f(float x, float y) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster position
public final void glRasterPos2i(int x, int y) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster position
public final void glDrawArrays(int mode, int first, int count) throws OpenGLException
mode
- The type of primitives to be constructedfirst
- The first array index to processcount
- The number of array elements to process
public final void drawArrays(int mode, int first, int count) throws OpenGLException
mode
- The type of primitives to be constructedfirst
- The first array index to processcount
- The number of array elements to process
public final void glTexCoord4sv(short[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glIndexubv(byte[] c) throws OpenGLException
c
- Array of colour index values to set
public final void index(byte[] c) throws OpenGLException
c
- Array of colour index values to set
public final void glRasterPos2s(short x, short y) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster position
public final void glOrtho(double left, double right, double bottom, double top, double nearValue, double farValue) throws OpenGLException
left
- The left clipping planeright
- The right clipping planebottom
- The bottom clipping planetop
- The top clipping planenearValue
- The near clipping planefarValue
- The far clipping plane
public final void ortho(double left, double right, double bottom, double top, double nearValue, double farValue) throws OpenGLException
left
- The left clipping planeright
- The right clipping planebottom
- The bottom clipping planetop
- The top clipping planenearValue
- The near clipping planefarValue
- The far clipping plane
public final void glTexCoord4dv(double[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glTexCoord3fv(float[] v) throws OpenGLException
v
- An array of texture coordinates
public final void glGetClipPlane(int plane, double[] equation) throws OpenGLException
plane
- Specifies a clipping planeequation
- Returns four doubles that are the co-efficients of the plane equation in eye coordinates
public final void getClipPlane(int plane, double[] equation) throws OpenGLException
plane
- Specifies a clipping planeequation
- Returns four doubles that are the co-efficients of the plane equation in eye coordinates
public final void glRasterPos3d(double x, double y, double z) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster positionz
- The z-coordinate of the raster position
public final void glVertex4sv(short[] v) throws OpenGLException
v
- Buffer containing vertex data
public final void glRasterPos3f(float x, float y, float z) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster positionz
- The z-coordinate of the raster position
public final void glGenTextures(int n, int[] textureNames) throws OpenGLException
n
- The number of texture objects to generatetextureNames
- Will contain the names of the newly generated texture objects
public final void genTextures(int n, int[] textureNames) throws OpenGLException
n
- The number of texture objects to generatetextureNames
- Will contain the names of the newly generated texture objects
public final void glRasterPos3i(int x, int y, int z) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster positionz
- The z-coordinate of the raster position
public final void glRasterPos3sv(short[] coords) throws OpenGLException
coords
- Buffer containing the required number of coordinate to specify the raster position
public final void glDeleteLists(int list, int range) throws OpenGLException
list
- The starting index of display lists to deleterange
- The number of lists to delete, starting at `list'
public final void deleteLists(int list, int range) throws OpenGLException
list
- The starting index of display lists to deleterange
- The number of lists to delete, starting at `list'
public final void glEdgeFlagv(boolean[] flag) throws OpenGLException
flag
- An array of boolean values indicating the edge flags for many vertices
public final void edgeFlag(boolean[] flag) throws OpenGLException
flag
- An array of boolean values indicating the edge flags for many vertices
public final void glEdgeFlagv(byte[] flag) throws OpenGLException
flag
- An array of boolean values indicating the edge flags for many vertices
public final void edgeFlag(byte[] flag) throws OpenGLException
flag
- An array of boolean values indicating the edge flags for many vertices
public final void glEdgeFlagv(int[] flag) throws OpenGLException
flag
- An array of boolean values indicating the edge flags for many vertices
public final void edgeFlag(int[] flag) throws OpenGLException
flag
- An array of boolean values indicating the edge flags for many vertices
public final void glPointSize(float size) throws OpenGLException
size
- The diameter of rasterized points
public final void pointSize(float size) throws OpenGLException
size
- The diameter of rasterized points
public final void glColor4uiv(int[] v) throws OpenGLException
v
- An array containing the 4 component colour values
public final void glRasterPos3s(short x, short y, short z) throws OpenGLException
x
- The x-coordinate of the raster positiony
- The y-coordinate of the raster positionz
- The z-coordinate of the raster position
public final void glVertex4dv(double[] v) throws OpenGLException
v
- Buffer containing vertex data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |