|
enum | { GLUP_TEXTURE_1D_UNIT =0
, GLUP_TEXTURE_2D_UNIT =1
, GLUP_TEXTURE_3D_UNIT =2
, GLUP_TEXTURE_PRIMITIVE_FILTERING_UNIT =3
} |
| The texture units used by GLUP for 1D,2D and 3D texturing. More...
|
|
enum | { GLUP_TEXTURE_1D_TARGET =0x0DE1
, GLUP_TEXTURE_2D_TARGET =0x0DE1
, GLUP_TEXTURE_3D_TARGET =0x806F
} |
| The targets to be used as the first argument of glBindTexture() for GLUP 1D, 2D and 3D textures. More...
|
|
enum | GLUPtextureType { GLUP_TEXTURE_1D =1
, GLUP_TEXTURE_2D =2
, GLUP_TEXTURE_3D =3
} |
|
enum | GLUPtextureMode { GLUP_TEXTURE_REPLACE =0
, GLUP_TEXTURE_MODULATE =1
, GLUP_TEXTURE_ADD =2
} |
|
void GLUP_API | glupTextureType (GLUPtextureType type) |
|
GLUPtextureType GLUP_API | glupGetTextureType (void) |
|
void GLUP_API | glupTextureMode (GLUPtextureMode mode) |
|
GLUPtextureMode GLUP_API | glupGetTextureMode (void) |
|
|
enum | GLUPcolor { GLUP_FRONT_COLOR =0
, GLUP_BACK_COLOR =1
, GLUP_MESH_COLOR =2
, GLUP_FRONT_AND_BACK_COLOR =3
} |
|
void GLUP_API | glupSetColor4fv (GLUPcolor color, const GLUPfloat *rgba) |
|
void GLUP_API | glupGetColor4fv (GLUPcolor color, float *rgba) |
|
void GLUP_API | glupSetColor3fv (GLUPcolor color, const GLUPfloat *rgba) |
|
void GLUP_API | glupSetColor4f (GLUPcolor color, GLUPfloat r, GLUPfloat g, GLUPfloat b, GLUPfloat a) |
|
void GLUP_API | glupSetColor3f (GLUPcolor color, GLUPfloat r, GLUPfloat g, GLUPfloat b) |
|
void GLUP_API | glupSetColor4dv (GLUPcolor color, const GLUPdouble *rgba) |
|
void GLUP_API | glupSetColor3dv (GLUPcolor color, const GLUPdouble *rgba) |
|
void GLUP_API | glupSetColor4d (GLUPcolor color, GLUPdouble r, GLUPdouble g, GLUPdouble b, GLUPdouble a) |
|
void GLUP_API | glupSetColor3d (GLUPcolor color, GLUPdouble r, GLUPdouble g, GLUPdouble b) |
|
void GLUP_API | glupLightVector3f (GLUPfloat x, GLUPfloat y, GLUPfloat z) |
|
void GLUP_API | glupLightVector3fv (GLUPfloat *xyz) |
|
void GLUP_API | glupGetLightVector3fv (GLUPfloat *xyz) |
|
void GLUP_API | glupSetPointSize (GLUPfloat size) |
|
GLUPfloat GLUP_API | glupGetPointSize (void) |
|
void GLUP_API | glupSetMeshWidth (GLUPint width) |
|
GLUPint GLUP_API | glupGetMeshWidth (void) |
|
void GLUP_API | glupSetCellsShrink (GLUPfloat x) |
|
GLUPfloat GLUP_API | glupGetCellsShrink (void) |
|
void GLUP_API | glupSetAlphaThreshold (GLUPfloat x) |
|
GLUPfloat GLUP_API | glupGetAlphaThreshold (void) |
|
void GLUP_API | glupSetSpecular (GLUPfloat x) |
|
GLUPfloat GLUP_API | glupGetSpecular (void) |
|
|
enum | GLUPmatrix { GLUP_MODELVIEW_MATRIX = 0
, GLUP_PROJECTION_MATRIX = 1
, GLUP_TEXTURE_MATRIX = 2
} |
|
void GLUP_API | glupMatrixMode (GLUPmatrix matrix) |
|
GLUPmatrix GLUP_API | glupGetMatrixMode (void) |
|
void GLUP_API | glupPushMatrix (void) |
|
void GLUP_API | glupPopMatrix (void) |
|
void GLUP_API | glupGetMatrixdv (GLUPmatrix matrix, GLUPdouble *ptr) |
| Queries a GLUP matrix. More...
|
|
void GLUP_API | glupGetMatrixfv (GLUPmatrix matrix, GLUPfloat *ptr) |
| Queries a GLUP matrix. More...
|
|
void GLUP_API | glupLoadIdentity (void) |
|
void GLUP_API | glupLoadMatrixf (const GLUPfloat *M) |
|
void GLUP_API | glupLoadMatrixd (const GLUPdouble *M) |
|
void GLUP_API | glupMultMatrixf (const GLUPfloat *M) |
|
void GLUP_API | glupMultMatrixd (const GLUPdouble *M) |
|
void GLUP_API | glupTranslatef (GLUPfloat x, GLUPfloat y, GLUPfloat z) |
|
void GLUP_API | glupTranslated (GLUPdouble x, GLUPdouble y, GLUPdouble z) |
|
void GLUP_API | glupScalef (GLUPfloat sx, GLUPfloat sy, GLUPfloat sz) |
|
void GLUP_API | glupScaled (GLUPdouble sx, GLUPdouble sy, GLUPdouble sz) |
|
void GLUP_API | glupRotatef (GLUPfloat angle, GLUPfloat x, GLUPfloat y, GLUPfloat z) |
|
void GLUP_API | glupRotated (GLUPdouble angle, GLUPdouble x, GLUPdouble y, GLUPdouble z) |
|
void GLUP_API | glupOrtho (GLUPdouble left, GLUPdouble right, GLUPdouble bottom, GLUPdouble top, GLUPdouble nearVal, GLUPdouble farVal) |
|
void GLUP_API | glupOrtho2D (GLUPdouble left, GLUPdouble right, GLUPdouble bottom, GLUPdouble top) |
|
void GLUP_API | glupFrustum (GLUPdouble left, GLUPdouble right, GLUPdouble bottom, GLUPdouble top, GLUPdouble nearVal, GLUPdouble farVal) |
|
void GLUP_API | glupPerspective (GLUPdouble fovy, GLUPdouble aspect, GLUPdouble zNear, GLUPdouble zFar) |
|
GLUPint GLUP_API | glupProject (GLUPdouble objx, GLUPdouble objy, GLUPdouble objz, const GLUPdouble modelMatrix[16], const GLUPdouble projMatrix[16], const GLUPint viewport[4], GLUPdouble *winx, GLUPdouble *winy, GLUPdouble *winz) |
|
GLUPboolean GLUP_API | glupUnProject (GLUPdouble winx, GLUPdouble winy, GLUPdouble winz, const GLUPdouble modelMatrix[16], const GLUPdouble projMatrix[16], const GLUPint viewport[4], GLUPdouble *objx, GLUPdouble *objy, GLUPdouble *objz) |
|
GLUPboolean GLUP_API | glupInvertMatrixfv (GLUPfloat Minvert[16], const GLUPfloat M[16]) |
|
GLUPboolean GLUP_API | glupInvertMatrixdv (GLUPdouble Minvert[16], const GLUPdouble M[16]) |
|
|
enum | GLUPprimitive {
GLUP_POINTS = 0
, GLUP_LINES = 1
, GLUP_TRIANGLES = 2
, GLUP_QUADS = 3
,
GLUP_TETRAHEDRA = 4
, GLUP_HEXAHEDRA = 5
, GLUP_PRISMS = 6
, GLUP_PYRAMIDS = 7
,
GLUP_CONNECTORS = 8
, GLUP_SPHERES = 9
, GLUP_RESERVED_PRIMITIVE_1 = 10
, GLUP_NB_PRIMITIVES = 11
} |
| Symbolic values corresponding to GLUP primitive types. More...
|
|
GLUPboolean GLUP_API | glupPrimitiveSupportsArrayMode (GLUPprimitive prim) |
| Tests whether a given GLUP primitive supports array mode. More...
|
|
void GLUP_API | glupDrawArrays (GLUPprimitive primitive, GLUPint first, GLUPsizei count) |
|
void GLUP_API | glupDrawElements (GLUPprimitive primitive, GLUPsizei count, GLUPenum type, const GLUPvoid *indices) |
|
void GLUP_API | glupBegin (GLUPprimitive primitive) |
|
void GLUP_API | glupEnd (void) |
|
void GLUP_API | glupVertex2fv (const GLUPfloat *xy) |
|
void GLUP_API | glupVertex3fv (const GLUPfloat *xyz) |
|
void GLUP_API | glupVertex4fv (const GLUPfloat *xyzw) |
|
void GLUP_API | glupVertex2dv (const GLUPdouble *xy) |
|
void GLUP_API | glupVertex3dv (const GLUPdouble *xyz) |
|
void GLUP_API | glupVertex4dv (const GLUPdouble *xyzw) |
|
void GLUP_API | glupVertex2f (GLUPfloat x, GLUPfloat y) |
|
void GLUP_API | glupVertex3f (GLUPfloat x, GLUPfloat y, GLUPfloat z) |
|
void GLUP_API | glupVertex4f (GLUPfloat x, GLUPfloat y, GLUPfloat z, GLUPfloat w) |
|
void GLUP_API | glupVertex2d (GLUPdouble x, GLUPdouble y) |
|
void GLUP_API | glupVertex3d (GLUPdouble x, GLUPdouble y, GLUPdouble z) |
|
void GLUP_API | glupVertex4d (GLUPdouble x, GLUPdouble y, GLUPdouble z, GLUPdouble w) |
|
void GLUP_API | glupColor3fv (const GLUPfloat *rgb) |
|
void GLUP_API | glupColor4fv (const GLUPfloat *rgba) |
|
void GLUP_API | glupColor3dv (const GLUPdouble *rgb) |
|
void GLUP_API | glupColor4dv (const GLUPdouble *rgba) |
|
void GLUP_API | glupColor3f (GLUPfloat r, GLUPfloat g, GLUPfloat b) |
|
void GLUP_API | glupColor4f (GLUPfloat r, GLUPfloat g, GLUPfloat b, GLUPfloat a) |
|
void GLUP_API | glupColor3d (GLUPdouble r, GLUPdouble g, GLUPdouble b) |
|
void GLUP_API | glupColor4d (GLUPdouble r, GLUPdouble g, GLUPdouble b, GLUPdouble a) |
|
void GLUP_API | glupTexCoord2fv (const GLUPfloat *st) |
|
void GLUP_API | glupTexCoord3fv (const GLUPfloat *stu) |
|
void GLUP_API | glupTexCoord4fv (const GLUPfloat *stuv) |
|
void GLUP_API | glupTexCoord2dv (const GLUPdouble *st) |
|
void GLUP_API | glupTexCoord3dv (const GLUPdouble *stu) |
|
void GLUP_API | glupTexCoord4dv (const GLUPdouble *stuv) |
|
void GLUP_API | glupTexCoord1f (GLUPfloat s) |
|
void GLUP_API | glupTexCoord2f (GLUPfloat s, GLUPfloat t) |
|
void GLUP_API | glupTexCoord3f (GLUPfloat s, GLUPfloat t, GLUPfloat u) |
|
void GLUP_API | glupTexCoord4f (GLUPfloat s, GLUPfloat t, GLUPfloat u, GLUPfloat v) |
|
void GLUP_API | glupTexCoord1d (GLUPdouble s) |
|
void GLUP_API | glupTexCoord2d (GLUPdouble s, GLUPdouble t) |
|
void GLUP_API | glupTexCoord3d (GLUPdouble s, GLUPdouble t, GLUPdouble u) |
|
void GLUP_API | glupTexCoord4d (GLUPdouble s, GLUPdouble t, GLUPdouble u, GLUPdouble v) |
|
void GLUP_API | glupNormal3fv (GLUPfloat *xyz) |
|
void GLUP_API | glupNormal3f (GLUPfloat x, GLUPfloat y, GLUPfloat z) |
|
void GLUP_API | glupNormal3dv (GLUPdouble *xyz) |
|
void GLUP_API | glupNormal3d (GLUPdouble x, GLUPdouble y, GLUPdouble z) |
|
void GLUP_API | glupUseProgram (GLUPuint program) |
| Specifies a GLSL program to be used for drawing the primitives. More...
|
|
GLUP: GL Useful Primitives.
Definition in file GLUP.h.