/************************http://blog.csdn.net/sunboyiris*************************************/ WINGDIAPI void APIENTRY glHint (GLenum target, GLenum mode); // 定义实现特殊的线索 WINGDIAPI void APIENTRY glIndexMask (GLuint mask); //控制写色彩索引缓冲区里的单独位 WINGDIAPI void APIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer); //定义一个颜色索引数组 /* 建立当前的色彩索引 */ WINGDIAPI void APIENTRY glIndexd (GLdouble c); WINGDIAPI void APIENTRY glIndexdv (const GLdouble *c); WINGDIAPI void APIENTRY glIndexf (GLfloat c); WINGDIAPI void APIENTRY glIndexfv (const GLfloat *c); WINGDIAPI void APIENTRY glIndexi (GLint c); WINGDIAPI void APIENTRY glIndexiv (const GLint *c); WINGDIAPI void APIENTRY glIndexs (GLshort c); WINGDIAPI void APIENTRY glIndexsv (const GLshort *c); WINGDIAPI void APIENTRY glIndexub (GLubyte c); WINGDIAPI void APIENTRY glIndexubv (const GLubyte *c); WINGDIAPI void APIENTRY glInitNames (void); //初始化名字堆栈 WINGDIAPI void APIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer); //同时定义和允许几个在一个大的数组集合里的交替数组 WINGDIAPI GLboolean APIENTRY glIsEnabled (GLenum cap); //定义性能是否被允许 WINGDIAPI GLboolean APIENTRY glIsList (GLuint list); //检测显示列表的存在 WINGDIAPI GLboolean APIENTRY glIsTexture (GLuint texture); //确定一个名字对应一个纹理 /* 设置光线模型参数 */ WINGDIAPI void APIENTRY glLightModelf (GLenum pname, GLfloat param); WINGDIAPI void APIENTRY glLightModelfv (GLenum pname, const GLfloat *params); WINGDIAPI void APIENTRY glLightModeli (GLenum pname, GLint param); WINGDIAPI void APIENTRY glLightModeliv (GLenum pname, const GLint *params); /* 设置光源参数 */ WINGDIAPI void APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); WINGDIAPI void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); WINGDIAPI void APIENTRY glLighti (GLenum light, GLenum pname, GLint param); WINGDIAPI void APIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params); WINGDIAPI void APIENTRY glLineStipple (GLint factor, GLushort pattern); // 设定线点绘图案 WINGDIAPI void APIENTRY glLineWidth (GLfloat width); //设定光栅线段的宽 WINGDIAPI void APIENTRY glListBase (GLuint base); //为glcallList设定显示列表的基础 WINGDIAPI void APIENTRY glLoadIdentity (void); //用恒等矩阵替换当前矩阵 /* 用一个任意矩阵替换当前矩阵 */ WINGDIAPI void APIENTRY glLoadMatrixd (const GLdouble *m); WINGDIAPI void APIENTRY glLoadMatrixf (const GLfloat *m); WINGDIAPI void APIENTRY glLoadName (GLuint name); //将一个名字调入名字堆栈 WINGDIAPI void APIENTRY glLogicOp (GLenum opcode); //为色彩索引渲染定义一个逻辑像素操作 /* 定义一个一维,二维求值程序 */ WINGDIAPI void APIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); WINGDIAPI void APIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); WINGDIAPI void APIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); WINGDIAPI void APIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); /* 定义一个一维或二维网格 */ WINGDIAPI void APIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2); WINGDIAPI void APIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2); WINGDIAPI void APIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); WINGDIAPI void APIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); /* 为光照模型定义材质参数 */ WINGDIAPI void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); WINGDIAPI void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); WINGDIAPI void APIENTRY glMateriali (GLenum face, GLenum pname, GLint param); WINGDIAPI void APIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params); WINGDIAPI void APIENTRY glMatrixMode (GLenum mode); //定义哪一个矩阵是当前矩阵 /* 用当前矩阵与任意矩阵相乘 */ WINGDIAPI void APIENTRY glMultMatrixd (const GLdouble *m); WINGDIAPI void APIENTRY glMultMatrixf (const GLfloat *m);