|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GLU
Provides access to the OpenGL utility library routines.
See GL for more information.
| Method Summary | |
|---|---|
void |
gluBeginPolygon(GLUtesselator tesselator)
gluBeginPolygon and gluEndPolygon delimit the definition of a nonconvex polygon. |
int |
gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
java.nio.Buffer data)
Interface to C language function: GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
byte[] data)
Interface to C language function: GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
float[] data)
Interface to C language function: GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
int[] data)
Interface to C language function: GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
short[] data)
Interface to C language function: GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild1DMipmaps(int target,
int internalFormat,
int width,
int format,
int type,
byte[] data)
Interface to C language function: GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data); |
int |
gluBuild1DMipmaps(int target,
int internalFormat,
int width,
int format,
int type,
float[] data)
Interface to C language function: GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data); |
int |
gluBuild1DMipmaps(int target,
int internalFormat,
int width,
int format,
int type,
int[] data)
Interface to C language function: GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data); |
int |
gluBuild1DMipmaps(int target,
int internalFormat,
int width,
int format,
int type,
short[] data)
Interface to C language function: GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data); |
int |
gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
java.nio.Buffer data)
Interface to C language function: GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
byte[] data)
Interface to C language function: GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
float[] data)
Interface to C language function: GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
int[] data)
Interface to C language function: GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
short[] data)
Interface to C language function: GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
java.nio.Buffer data)
Interface to C language function: GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data); |
int |
gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
byte[] data)
Interface to C language function: GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data); |
int |
gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
float[] data)
Interface to C language function: GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data); |
int |
gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int[] data)
Interface to C language function: GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data); |
int |
gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
short[] data)
Interface to C language function: GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data); |
int |
gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
java.nio.Buffer data)
Interface to C language function: GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
byte[] data)
Interface to C language function: GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
float[] data)
Interface to C language function: GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
int[] data)
Interface to C language function: GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
short[] data)
Interface to C language function: GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data); |
int |
gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
java.nio.Buffer data)
Interface to C language function: GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); |
int |
gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
byte[] data)
Interface to C language function: GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); |
int |
gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
float[] data)
Interface to C language function: GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); |
int |
gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int[] data)
Interface to C language function: GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); |
int |
gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
short[] data)
Interface to C language function: GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); |
boolean |
gluCheckExtension(java.lang.String extName,
java.lang.String extString)
Interface to C language function: GLboolean gluCheckExtension(const GLubyte * extName, const GLubyte * extString); |
void |
gluCylinder(GLUquadric quad,
double base,
double top,
double height,
int slices,
int stacks)
Interface to C language function: void gluCylinder(GLUquadric * quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks); |
void |
gluDeleteQuadric(GLUquadric quad)
Interface to C language function: void gluDeleteQuadric(GLUquadric * quad); |
void |
gluDeleteTess(GLUtesselator tesselator)
gluDeleteTess destroys the indicated tessellation object (which was created with gluNewTess). |
void |
gluDisk(GLUquadric quad,
double inner,
double outer,
int slices,
int loops)
Interface to C language function: void gluDisk(GLUquadric * quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops); |
void |
gluEndPolygon(GLUtesselator tesselator)
gluEndPolygon and gluBeginPolygon delimit the definition of a nonconvex polygon. |
java.lang.String |
gluErrorString(int error)
Interface to C language function: const GLubyte * gluErrorString(GLenum error); |
java.lang.String |
gluGetString(int name)
Interface to C language function: const GLubyte * gluGetString(GLenum name); |
void |
gluGetTessProperty(GLUtesselator tesselator,
int which,
double[] value)
gluGetTessProperty retrieves properties stored in a tessellation object. |
void |
gluLookAt(double eyeX,
double eyeY,
double eyeZ,
double centerX,
double centerY,
double centerZ,
double upX,
double upY,
double upZ)
Interface to C language function: void gluLookAt(GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ); |
GLUquadric |
gluNewQuadric()
Interface to C language function: GLUquadric * gluNewQuadric(void); |
GLUtesselator |
gluNewTess()
gluNewTess creates and returns a new tessellation object. |
void |
gluNextContour(GLUtesselator tesselator,
int type)
gluNextContour is used to describe polygons with multiple contours. |
void |
gluOrtho2D(double left,
double right,
double bottom,
double top)
Interface to C language function: void gluOrtho2D(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top); |
void |
gluPartialDisk(GLUquadric quad,
double inner,
double outer,
int slices,
int loops,
double start,
double sweep)
Interface to C language function: void gluPartialDisk(GLUquadric * quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep); |
void |
gluPerspective(double fovy,
double aspect,
double zNear,
double zFar)
Interface to C language function: void gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar); |
void |
gluPickMatrix(double x,
double y,
double delX,
double delY,
int[] viewport)
Interface to C language function: void gluPickMatrix(GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint * viewport); |
boolean |
gluProject(double objx,
double objy,
double objz,
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] winPos)
Convenience routine for gluProject that accepts the outgoing window coordinates as a single array. |
boolean |
gluProject(double objX,
double objY,
double objZ,
double[] model,
double[] proj,
int[] view,
double[] winX,
double[] winY,
double[] winZ)
Interface to C language function: GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); |
void |
gluQuadricDrawStyle(GLUquadric quad,
int draw)
Interface to C language function: void gluQuadricDrawStyle(GLUquadric * quad, GLenum draw); |
void |
gluQuadricNormals(GLUquadric quad,
int normal)
Interface to C language function: void gluQuadricNormals(GLUquadric * quad, GLenum normal); |
void |
gluQuadricOrientation(GLUquadric quad,
int orientation)
Interface to C language function: void gluQuadricOrientation(GLUquadric * quad, GLenum orientation); |
void |
gluQuadricTexture(GLUquadric quad,
boolean texture)
Interface to C language function: void gluQuadricTexture(GLUquadric * quad, GLboolean texture); |
int |
gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
java.nio.Buffer dataIn,
int wOut,
int hOut,
int typeOut,
java.nio.Buffer dataOut)
Interface to C language function: GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut); |
int |
gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
byte[] dataIn,
int wOut,
int hOut,
int typeOut,
byte[] dataOut)
Interface to C language function: GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut); |
int |
gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
float[] dataIn,
int wOut,
int hOut,
int typeOut,
float[] dataOut)
Interface to C language function: GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut); |
int |
gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
int[] dataIn,
int wOut,
int hOut,
int typeOut,
int[] dataOut)
Interface to C language function: GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut); |
int |
gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
short[] dataIn,
int wOut,
int hOut,
int typeOut,
short[] dataOut)
Interface to C language function: GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut); |
void |
gluSphere(GLUquadric quad,
double radius,
int slices,
int stacks)
Interface to C language function: void gluSphere(GLUquadric * quad, GLdouble radius, GLint slices, GLint stacks); |
void |
gluTessBeginContour(GLUtesselator tesselator)
gluTessBeginContour and gluTessEndContour delimit
the definition of a polygon contour. |
void |
gluTessBeginPolygon(GLUtesselator tesselator,
java.lang.Object data)
gluTessBeginPolygon and gluTessEndPolygon delimit
the definition of a convex, concave or self-intersecting polygon. |
void |
gluTessCallback(GLUtesselator tesselator,
int which,
GLUtesselatorCallback aCallback)
gluTessCallback is used to indicate a callback to be used by a tessellation object. |
void |
gluTessEndContour(GLUtesselator tesselator)
gluTessEndContour and gluTessBeginContour
delimit the definition of a polygon contour. |
void |
gluTessEndPolygon(GLUtesselator tesselator)
gluTessEndPolygon and gluTessBeginPolygon
delimit the definition of a convex, concave or self-intersecting polygon. |
void |
gluTessNormal(GLUtesselator tesselator,
double x,
double y,
double z)
gluTessNormal describes a normal for a polygon that the program is defining. |
void |
gluTessProperty(GLUtesselator tesselator,
int which,
double value)
gluTessProperty is used to control properites stored in a tessellation object. |
void |
gluTessVertex(GLUtesselator tesselator,
double[] coords,
java.lang.Object data)
gluTessVertex describes a vertex on a polygon that the program defines. |
boolean |
gluUnProject(double winX,
double winY,
double winZ,
double[] model,
double[] proj,
int[] view,
double[] objPos)
Convenience routine for gluUnProject that accepts the outgoing object coordinates (a 3-vector) as a single array. |
boolean |
gluUnProject(double winX,
double winY,
double winZ,
double[] model,
double[] proj,
int[] view,
double[] objX,
double[] objY,
double[] objZ)
Interface to C language function: GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); |
boolean |
gluUnProject4(double winX,
double winY,
double winZ,
double clipW,
double[] model,
double[] proj,
int[] view,
double nearVal,
double farVal,
double[] objPos)
Convenience routine for gluUnProject4 that accepts the outgoing object coordinates (a 4-vector) as a single array. |
boolean |
gluUnProject4(double winX,
double winY,
double winZ,
double clipW,
double[] model,
double[] proj,
int[] view,
double nearVal,
double farVal,
double[] objX,
double[] objY,
double[] objZ,
double[] objW)
Interface to C language function: GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); |
boolean |
isFunctionAvailable(java.lang.String gluFunctionName)
Returns true if the specified GLU core- or extension-function can be successfully used through this GLU instance. |
| Field Detail |
|---|
static final int GLU_FALSE
static final int GLU_TRUE
static final int GLU_VERSION
static final int GLU_EXTENSIONS
static final int GLU_INVALID_ENUM
static final int GLU_INVALID_VALUE
static final int GLU_OUT_OF_MEMORY
static final int GLU_INVALID_OPERATION
static final int GLU_OUTLINE_POLYGON
static final int GLU_OUTLINE_PATCH
static final int GLU_ERROR
static final int GLU_AUTO_LOAD_MATRIX
static final int GLU_CULLING
static final int GLU_SAMPLING_TOLERANCE
static final int GLU_DISPLAY_MODE
static final int GLU_SAMPLING_METHOD
static final int GLU_U_STEP
static final int GLU_V_STEP
static final int GLU_OBJECT_PATH_LENGTH
static final int GLU_OBJECT_PATH_LENGTH_EXT
static final int GLU_PATH_LENGTH
static final int GLU_DOMAIN_DISTANCE
static final int GLU_MAP1_TRIM_2
static final int GLU_MAP1_TRIM_3
static final int GLU_POINT
static final int GLU_LINE
static final int GLU_FILL
static final int GLU_SILHOUETTE
static final int GLU_SMOOTH
static final int GLU_FLAT
static final int GLU_NONE
static final int GLU_OUTSIDE
static final int GLU_INSIDE
static final int GLU_TESS_BEGIN
static final int GLU_BEGIN
static final int GLU_TESS_VERTEX
static final int GLU_VERTEX
static final int GLU_TESS_END
static final int GLU_END
static final int GLU_TESS_ERROR
static final int GLU_TESS_EDGE_FLAG
static final int GLU_EDGE_FLAG
static final int GLU_TESS_COMBINE
static final int GLU_TESS_BEGIN_DATA
static final int GLU_TESS_VERTEX_DATA
static final int GLU_TESS_END_DATA
static final int GLU_TESS_ERROR_DATA
static final int GLU_TESS_EDGE_FLAG_DATA
static final int GLU_TESS_COMBINE_DATA
static final int GLU_CW
static final int GLU_CCW
static final int GLU_INTERIOR
static final int GLU_EXTERIOR
static final int GLU_UNKNOWN
static final int GLU_TESS_WINDING_RULE
static final int GLU_TESS_BOUNDARY_ONLY
static final int GLU_TESS_TOLERANCE
static final int GLU_TESS_ERROR1
static final int GLU_TESS_ERROR2
static final int GLU_TESS_ERROR3
static final int GLU_TESS_ERROR4
static final int GLU_TESS_ERROR5
static final int GLU_TESS_ERROR6
static final int GLU_TESS_ERROR7
static final int GLU_TESS_ERROR8
static final int GLU_TESS_MISSING_BEGIN_POLYGON
static final int GLU_TESS_MISSING_BEGIN_CONTOUR
static final int GLU_TESS_MISSING_END_POLYGON
static final int GLU_TESS_MISSING_END_CONTOUR
static final int GLU_TESS_COORD_TOO_LARGE
static final int GLU_TESS_NEED_COMBINE_CALLBACK
static final int GLU_TESS_WINDING_ODD
static final int GLU_TESS_WINDING_NONZERO
static final int GLU_TESS_WINDING_POSITIVE
static final int GLU_TESS_WINDING_NEGATIVE
static final int GLU_TESS_WINDING_ABS_GEQ_TWO
static final double GLU_TESS_MAX_COORD
| Method Detail |
|---|
boolean gluCheckExtension(java.lang.String extName,
java.lang.String extString)
GLboolean gluCheckExtension(const GLubyte * extName, const GLubyte * extString);
void gluCylinder(GLUquadric quad,
double base,
double top,
double height,
int slices,
int stacks)
void gluCylinder(GLUquadric * quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks);
void gluDeleteQuadric(GLUquadric quad)
void gluDeleteQuadric(GLUquadric * quad);
void gluDisk(GLUquadric quad,
double inner,
double outer,
int slices,
int loops)
void gluDisk(GLUquadric * quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops);
java.lang.String gluErrorString(int error)
const GLubyte * gluErrorString(GLenum error);
java.lang.String gluGetString(int name)
const GLubyte * gluGetString(GLenum name);
void gluLookAt(double eyeX,
double eyeY,
double eyeZ,
double centerX,
double centerY,
double centerZ,
double upX,
double upY,
double upZ)
void gluLookAt(GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ);
GLUquadric gluNewQuadric()
GLUquadric * gluNewQuadric(void);
void gluOrtho2D(double left,
double right,
double bottom,
double top)
void gluOrtho2D(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top);
void gluPartialDisk(GLUquadric quad,
double inner,
double outer,
int slices,
int loops,
double start,
double sweep)
void gluPartialDisk(GLUquadric * quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep);
void gluPerspective(double fovy,
double aspect,
double zNear,
double zFar)
void gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar);
void gluPickMatrix(double x,
double y,
double delX,
double delY,
int[] viewport)
void gluPickMatrix(GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint * viewport);
void gluQuadricDrawStyle(GLUquadric quad,
int draw)
void gluQuadricDrawStyle(GLUquadric * quad, GLenum draw);
void gluQuadricNormals(GLUquadric quad,
int normal)
void gluQuadricNormals(GLUquadric * quad, GLenum normal);
void gluQuadricOrientation(GLUquadric quad,
int orientation)
void gluQuadricOrientation(GLUquadric * quad, GLenum orientation);
void gluQuadricTexture(GLUquadric quad,
boolean texture)
void gluQuadricTexture(GLUquadric * quad, GLboolean texture);
void gluSphere(GLUquadric quad,
double radius,
int slices,
int stacks)
void gluSphere(GLUquadric * quad, GLdouble radius, GLint slices, GLint stacks);
boolean gluProject(double objX,
double objY,
double objZ,
double[] model,
double[] proj,
int[] view,
double[] winX,
double[] winY,
double[] winZ)
GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ);
boolean gluProject(double objx,
double objy,
double objz,
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] winPos)
boolean gluUnProject(double winX,
double winY,
double winZ,
double[] model,
double[] proj,
int[] view,
double[] objX,
double[] objY,
double[] objZ)
GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ);
boolean gluUnProject(double winX,
double winY,
double winZ,
double[] model,
double[] proj,
int[] view,
double[] objPos)
boolean gluUnProject4(double winX,
double winY,
double winZ,
double clipW,
double[] model,
double[] proj,
int[] view,
double nearVal,
double farVal,
double[] objX,
double[] objY,
double[] objZ,
double[] objW)
GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW);
boolean gluUnProject4(double winX,
double winY,
double winZ,
double clipW,
double[] model,
double[] proj,
int[] view,
double nearVal,
double farVal,
double[] objPos)
void gluBeginPolygon(GLUtesselator tesselator)
gluEndPolygon delimit the definition of a nonconvex polygon. To define
such a polygon, first call gluBeginPolygon. Then define the contours
of the polygon by calling gluTessVertex for each vertex and
gluNextContour to start each
new contour. Finally, call gluEndPolygon to signal the end of the definition. See the
gluTessVertex and
gluNextContour reference
pages for more details.
Once gluEndPolygon is called,
the polygon is tessellated, and the resulting triangles are described
through callbacks. See gluTessCallback for descriptions of the callback methods.
tesselator - Specifies the tessellation object (created with
gluNewTess).gluNewTess,
gluNextContour,
gluTessCallback,
gluTessVertex,
gluTessBeginPolygon,
gluTessBeginContourvoid gluDeleteTess(GLUtesselator tesselator)
gluNewTess).
tesselator - Specifies the tessellation object to destroy.gluBeginPolygon,
gluNewTess,
gluTessCallbackvoid gluEndPolygon(GLUtesselator tesselator)
gluBeginPolygon delimit the definition of a nonconvex polygon. To define
such a polygon, first call gluBeginPolygon. Then define the contours of the polygon by calling
gluTessVertex for each vertex
and gluNextContour to start
each new contour. Finally, call gluEndPolygon to signal the end of
the definition. See the gluTessVertex and gluNextContour reference pages for more details.
Once gluEndPolygon is called, the polygon is tessellated, and the
resulting triangles are described through callbacks. See
gluTessCallback for
descriptions of the callback methods.
tesselator - Specifies the tessellation object (created with
gluNewTess).gluNewTess,
gluNextContour,
gluTessCallback,
gluTessVertex,
gluTessBeginPolygon,
gluTessBeginContour
void gluGetTessProperty(GLUtesselator tesselator,
int which,
double[] value)
gluTessProperty reference
page for information about the properties and what they do.
tesselator - Specifies the tessellation object (created with
gluNewTess).which - Specifies the property whose value is to be fetched. Valid values
are GLU_TESS_WINDING_RULE, GLU_TESS_BOUNDARY_ONLY,
and GLU_TESS_TOLERANCES.value - Specifices an array into which the value of the named property is
written.gluNewTess,
gluTessPropertyGLUtesselator gluNewTess()
gluTessBeginPolygon,
gluDeleteTess,
gluTessCallback
void gluNextContour(GLUtesselator tesselator,
int type)
gluTessVertex calls, a
gluNextContour call indicates that the previous contour is complete
and that the next contour is about to begin. Perform another series of
gluTessVertex calls to
describe the new contour. Repeat this process until all contours have been
described.The type parameter defines what type of contour follows. The following values are valid.
GLU_EXTERIOR
To define the type of the first contour, you can call gluNextContour before describing the first contour. If you do not call gluNextContour before the first contour, the first contour is marked GLU_EXTERIOR.
gluTessEndContour followed by
gluTessBeginContour.
tesselator - Specifies the tessellation object (created with
gluNewTess).type - The type of the contour being defined.gluNewTess,
gluTessBeginContour,
gluTessBeginPolygon,
gluTessCallback,
gluTessEndContour,
gluTessVertexvoid gluTessBeginContour(GLUtesselator tesselator)
gluTessEndContour delimit
the definition of a polygon contour. Within each
gluTessBeginContour/
gluTessEndContour pair,
there can be zero or more calls to
gluTessVertex. The vertices
specify a closed contour (the last vertex of each contour is automatically
linked to the first). See the gluTessVertex reference page for more details. gluTessBeginContour
can only be called between
gluTessBeginPolygon and
gluTessEndPolygon.
tesselator - Specifies the tessellation object (created with
gluNewTess).gluNewTess,
gluTessBeginPolygon,
gluTessVertex,
gluTessCallback,
gluTessProperty,
gluTessNormal,
gluTessEndPolygon
void gluTessBeginPolygon(GLUtesselator tesselator,
java.lang.Object data)
gluTessEndPolygon delimit
the definition of a convex, concave or self-intersecting polygon. Within
each gluTessBeginPolygon/
gluTessEndPolygon pair,
there must be one or more calls to
gluTessBeginContour/
gluTessEndContour. Within
each contour, there are zero or more calls to
gluTessVertex. The vertices
specify a closed contour (the last vertex of each contour is automatically
linked to the first). See the gluTessVertex, gluTessBeginContour, and gluTessEndContour reference pages for more details.
data is a reference to a user-defined data structure. If the
appropriate callback(s) are specified (see
gluTessCallback), then this
reference is returned to the callback method(s). Thus, it is a convenient
way to store per-polygon information.
Once gluTessEndPolygon is
called, the polygon is tessellated, and the resulting triangles are
described through callbacks. See
gluTessCallback for
descriptions of the callback methods.
tesselator - Specifies the tessellation object (created with
gluNewTess).data - Specifies a reference to user polygon data.gluNewTess,
gluTessBeginContour,
gluTessVertex,
gluTessCallback,
gluTessProperty,
gluTessNormal,
gluTessEndPolygon
void gluTessCallback(GLUtesselator tesselator,
int which,
GLUtesselatorCallback aCallback)
These callbacks are used by the tessellation object to describe how a
polygon specified by the user is broken into triangles. Note that there are
two versions of each callback: one with user-specified polygon data and one
without. If both versions of a particular callback are specified, then the
callback with user-specified polygon data will be used. Note that the
polygonData parameter used by some of the methods is a copy of the
reference that was specified when
gluTessBeginPolygon
was called. The legal callbacks are as follows:
GLU_TESS_BEGIN
glBegin to indicate the start of a (triangle) primitive. The method
takes a single argument of type int. If the
GLU_TESS_BOUNDARY_ONLY property is set to GL_FALSE, then
the argument is set to either GL_TRIANGLE_FAN,
GL_TRIANGLE_STRIP, or GL_TRIANGLES. If the
GLU_TESS_BOUNDARY_ONLY property is set to GL_TRUE, then the
argument will be set to GL_LINE_LOOP. The method prototype for
this callback is:
void begin(int type);GLU_TESS_BEGIN_DATA
gluTessBeginPolygon
was called. The method prototype for this callback is:
void beginData(int type, Object polygonData);
GLU_TESS_EDGE_FLAG
glEdgeFlag. The method takes
a single boolean boundaryEdge that indicates which edges lie on the
polygon boundary. If the boundaryEdge is GL_TRUE, then each vertex
that follows begins an edge that lies on the polygon boundary, that is,
an edge that separates an interior region from an exterior one. If the
boundaryEdge is GL_FALSE, then each vertex that follows begins an
edge that lies in the polygon interior. The edge flag callback (if
defined) is invoked before the first vertex callback.Since triangle fans and triangle strips do not support edge flags, the begin callback is not called with GL_TRIANGLE_FAN or GL_TRIANGLE_STRIP if a non-null edge flag callback is provided. (If the callback is initialized to null, there is no impact on performance). Instead, the fans and strips are converted to independent triangles. The method prototype for this callback is:
void edgeFlag(boolean boundaryEdge);
GLU_TESS_EDGE_FLAG_DATA
gluTessBeginPolygon
was called. The method prototype for this callback is:
void edgeFlagData(boolean boundaryEdge, Object polygonData);
GLU_TESS_VERTEX
glVertex3f, and it
defines the vertices of the triangles created by the tessellation
process. The method takes a reference as its only argument. This
reference is identical to the opaque reference provided by the user when
the vertex was described (see
gluTessVertex). The method
prototype for this callback is:
void vertex(Object vertexData);
GLU_TESS_VERTEX_DATA
gluTessBeginPolygon
was called. The method prototype for this callback is:
void vertexData(Object vertexData, Object polygonData);
GLU_TESS_END
glEnd. It indicates the end of a
primitive and it takes no arguments. The method prototype for this
callback is:
void end();
GLU_TESS_END_DATA
gluTessBeginPolygon
was called. The method prototype for this callback is:
void endData(Object polygonData);
GLU_TESS_COMBINE
void combine(double[] coords, Object[] data,
float[] weight, Object[] outData);
The user must allocate another vertex, interpolate parameters using
data and weight, and return the new vertex pointer
in outData. This handle is supplied during rendering callbacks.
The user is responsible for freeing the memory some time after
gluTessEndPolygon is
called.
For example, if the polygon lies in an arbitrary plane in 3-space, and a color is associated with each vertex, the GLU_TESS_COMBINE callback might look like this:
void myCombine(double[] coords, Object[] data,
float[] weight, Object[] outData)
{
MyVertex newVertex = new MyVertex();
newVertex.x = coords[0];
newVertex.y = coords[1];
newVertex.z = coords[2];
newVertex.r = weight[0]*data[0].r +
weight[1]*data[1].r +
weight[2]*data[2].r +
weight[3]*data[3].r;
newVertex.g = weight[0]*data[0].g +
weight[1]*data[1].g +
weight[2]*data[2].g +
weight[3]*data[3].g;
newVertex.b = weight[0]*data[0].b +
weight[1]*data[1].b +
weight[2]*data[2].b +
weight[3]*data[3].b;
newVertex.a = weight[0]*data[0].a +
weight[1]*data[1].a +
weight[2]*data[2].a +
weight[3]*data[3].a;
outData = newVertex;
}
gluTessBeginPolygon
was called. The method prototype for this callback is:
void combineData(double[] coords, Object[] data,
float[] weight, Object[] outData,
Object polygonData);
GLU_TESS_ERROR
gluErrorString call. The
method prototype for this callback is:
void error(int errnum);
gluTessBeginPolygon
was called. The method prototype for this callback is:
void errorData(int errnum, Object polygonData);
tesselator - Specifies the tessellation object (created with
gluNewTess).which - Specifies the callback being defined. The following values are
valid: GLU_TESS_BEGIN, GLU_TESS_BEGIN_DATA,
GLU_TESS_EDGE_FLAG, GLU_TESS_EDGE_FLAG_DATA,
GLU_TESS_VERTEX, GLU_TESS_VERTEX_DATA,
GLU_TESS_END, GLU_TESS_END_DATA,
GLU_TESS_COMBINE, GLU_TESS_COMBINE_DATA,
GLU_TESS_ERROR, and GLU_TESS_ERROR_DATA.aCallback - Specifies the callback object to be called.glBegin,
glEdgeFlag,
glVertex3f,
gluNewTess,
gluErrorString,
gluTessVertex,
gluTessBeginPolygon,
gluTessBeginContour,
gluTessProperty,
gluTessNormalvoid gluTessEndContour(GLUtesselator tesselator)
gluTessBeginContour
delimit the definition of a polygon contour. Within each
gluTessBeginContour/
gluTessEndContour pair, there can be zero or more calls to
gluTessVertex. The vertices
specify a closed contour (the last vertex of each contour is automatically
linked to the first). See the gluTessVertex reference page for more details.
gluTessBeginContour can
only be called between gluTessBeginPolygon and
gluTessEndPolygon.
tesselator - Specifies the tessellation object (created with
gluNewTess).gluNewTess,
gluTessBeginPolygon,
gluTessVertex,
gluTessCallback,
gluTessProperty,
gluTessNormal,
gluTessEndPolygonvoid gluTessEndPolygon(GLUtesselator tesselator)
gluTessBeginPolygon
delimit the definition of a convex, concave or self-intersecting polygon.
Within each gluTessBeginPolygon/gluTessEndPolygon pair, there must be one or
more calls to gluTessBeginContour/gluTessEndContour. Within each contour, there are zero or more calls to
gluTessVertex. The vertices
specify a closed contour (the last vertex of each contour is automatically
linked to the first). See the gluTessVertex, gluTessBeginContour and gluTessEndContour reference pages for more details.
Once gluTessEndPolygon is called, the polygon is tessellated, and
the resulting triangles are described through callbacks. See
gluTessCallback for
descriptions of the callback functions.
tesselator - Specifies the tessellation object (created with
gluNewTess).gluNewTess,
gluTessBeginContour,
gluTessVertex,
gluTessCallback,
gluTessProperty,
gluTessNormal,
gluTessBeginPolygon
void gluTessNormal(GLUtesselator tesselator,
double x,
double y,
double z)
If the supplied normal is (0.0, 0.0, 0.0)(the initial value), the normal is determined as follows. The direction of the normal, up to its sign, is found by fitting a plane to the vertices, without regard to how the vertices are connected. It is expected that the input data lies approximately in the plane; otherwise, projection perpendicular to one of the three coordinate axes may substantially change the geometry. The sign of the normal is chosen so that the sum of the signed areas of all input contours is nonnegative (where a CCW contour has positive area).
The supplied normal persists until it is changed by another call to gluTessNormal.
tesselator - Specifies the tessellation object (created by
gluNewTess).x - Specifies the first component of the normal.y - Specifies the second component of the normal.z - Specifies the third component of the normal.gluTessBeginPolygon,
gluTessEndPolygon
void gluTessProperty(GLUtesselator tesselator,
int which,
double value)
GLU_TESS_WINDING_RULE
To understand how the winding rule works, consider that the input contours partition the plane into regions. The winding rule determines which of these regions are inside the polygon.
For a single contour C, the winding number of a point x is simply the signed number of revolutions we make around x as we travel once around C (where CCW is positive). When there are several contours, the individual winding numbers are summed. This procedure associates a signed integer value with each point x in the plane. Note that the winding number is the same for all points in a single region.
The winding rule classifies a region as "inside" if its winding number belongs to the chosen category (odd, nonzero, positive, negative, or absolute value of at least two). The previous GLU tesselator (prior to GLU 1.2) used the "odd" rule. The "nonzero" rule is another common way to define the interior. The other three rules are useful for polygon CSG operations.
Feature merging is completely optional; the tolerance is only a hint. The implementation is free to merge in some cases and not in others, or to never merge features at all. The initial tolerance is 0.
The current implementation merges vertices only if they are exactly coincident, regardless of the current tolerance. A vertex is spliced into an edge only if the implementation is unable to distinguish which side of the edge the vertex lies on. Two edges are merged only when both endpoints are identical.
tesselator - Specifies the tessellation object created with
gluNewTesswhich - Specifies the property to be set. Valid values are
GLU_TESS_WINDING_RULE, GLU_TESS_BOUNDARDY_ONLY,
GLU_TESS_TOLERANCE.value - Specifices the value of the indicated property.gluGetTessProperty,
gluNewTess
void gluTessVertex(GLUtesselator tesselator,
double[] coords,
java.lang.Object data)
gluTessBeginContour and
gluTessEndContour.
data normally references to a structure containing the vertex
location, as well as other per-vertex attributes such as color and normal.
This reference is passed back to the user through the
GLU_TESS_VERTEX or GLU_TESS_VERTEX_DATA callback after
tessellation (see the gluTessCallback reference page).
tesselator - Specifies the tessellation object (created with
gluNewTess).coords - Specifies the coordinates of the vertex.data - Specifies an opaque reference passed back to the program with the
vertex callback (as specified by
gluTessCallback).gluTessBeginPolygon,
gluNewTess,
gluTessBeginContour,
gluTessCallback,
gluTessProperty,
gluTessNormal,
gluTessEndPolygon
int gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
byte[] data)
GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
short[] data)
GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
int[] data)
GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
float[] data)
GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild1DMipmapLevels(int target,
int internalFormat,
int width,
int format,
int type,
int level,
int base,
int max,
java.nio.Buffer data)
GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild1DMipmaps(int target,
int internalFormat,
int width,
int format,
int type,
byte[] data)
GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data);
int gluBuild1DMipmaps(int target,
int internalFormat,
int width,
int format,
int type,
short[] data)
GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data);
int gluBuild1DMipmaps(int target,
int internalFormat,
int width,
int format,
int type,
int[] data)
GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data);
int gluBuild1DMipmaps(int target,
int internalFormat,
int width,
int format,
int type,
float[] data)
GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void * data);
int gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
byte[] data)
GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
short[] data)
GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
int[] data)
GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
float[] data)
GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild2DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int level,
int base,
int max,
java.nio.Buffer data)
GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
byte[] data)
GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data);
int gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
short[] data)
GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data);
int gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
int[] data)
GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data);
int gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
float[] data)
GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data);
int gluBuild2DMipmaps(int target,
int internalFormat,
int width,
int height,
int format,
int type,
java.nio.Buffer data)
GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data);
int gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
byte[] data)
GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
short[] data)
GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
int[] data)
GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
float[] data)
GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild3DMipmapLevels(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int level,
int base,
int max,
java.nio.Buffer data)
GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void * data);
int gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
byte[] data)
GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data);
int gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
short[] data)
GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data);
int gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
int[] data)
GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data);
int gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
float[] data)
GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data);
int gluBuild3DMipmaps(int target,
int internalFormat,
int width,
int height,
int depth,
int format,
int type,
java.nio.Buffer data)
GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data);
int gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
byte[] dataIn,
int wOut,
int hOut,
int typeOut,
byte[] dataOut)
GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut);
int gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
short[] dataIn,
int wOut,
int hOut,
int typeOut,
short[] dataOut)
GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut);
int gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
int[] dataIn,
int wOut,
int hOut,
int typeOut,
int[] dataOut)
GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut);
int gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
float[] dataIn,
int wOut,
int hOut,
int typeOut,
float[] dataOut)
GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut);
int gluScaleImage(int format,
int wIn,
int hIn,
int typeIn,
java.nio.Buffer dataIn,
int wOut,
int hOut,
int typeOut,
java.nio.Buffer dataOut)
GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void * dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid * dataOut);
boolean isFunctionAvailable(java.lang.String gluFunctionName)
A GLU function is callable if it is a GLU core- or extension-function that is supported by the underlying GLU implementation. The function is available if the OpenGL implementation on the display meets the requirements of the GLU function being called (because GLU functions utilize OpenGL functions).
Whether or not a GLU function is callable is determined as follows:
gluGetString(GLU_VERSION) is used to determine the
version number of the underlying GLU implementation on the host.
then the function name is cross-referenced with that specification to
see if it is part of that version's specification.
gluGetString(GLU_EXTENSIONS) to see if the function is one of
the extensions that is supported by the underlying GLU implementation.
glGetString(GL_VERSION) is used to determine the
highest OpenGL version that both host and display support, and from that it
is possible to determine if the GL facilities required by the GLU function
are available on the display.
gluGetString(GLU_EXTENSIONS) to see if the function is one of
the extensions that is supported by the underlying GLU implementation.
GLEventListener.displayChanged(GLDrawable,boolean,boolean).
gluFunctionName - the name of the OpenGL function (e.g., use
"gluNurbsCallbackDataEXT" to check if the
gluNurbsCallbackDataEXT(GLUnurbs, GLvoid) extension is available).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||