/************************http://blog.csdn.net/sunboyiris*************************************/ WINGDIAPI void APIENTRY glDisable (GLenum cap); WINGDIAPI void APIENTRY glDisableClientState (GLenum array); WINGDIAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); //定义渲染多个图元 WINGDIAPI void APIENTRY glDrawBuffer (GLenum mode); //定义选择哪个色彩缓冲区被绘制 WINGDIAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); //渲染数组数据中的图元 WINGDIAPI void APIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); //将一组像素写入帧缓冲区 WINGDIAPI void APIENTRY glEdgeFlag (GLboolean flag); //定义一个边缘标志数组 WINGDIAPI void APIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer); WINGDIAPI void APIENTRY glEdgeFlagv (const GLboolean *flag); WINGDIAPI void APIENTRY glEnable (GLenum cap); WINGDIAPI void APIENTRY glEnableClientState (GLenum array); WINGDIAPI void APIENTRY glEnd (void); WINGDIAPI void APIENTRY glEndList (void); /* 求解一维和二维贴图 */ WINGDIAPI void APIENTRY glEvalCoord1d (GLdouble u); WINGDIAPI void APIENTRY glEvalCoord1dv (const GLdouble *u); WINGDIAPI void APIENTRY glEvalCoord1f (GLfloat u); WINGDIAPI void APIENTRY glEvalCoord1fv (const GLfloat *u); WINGDIAPI void APIENTRY glEvalCoord2d (GLdouble u, GLdouble v); WINGDIAPI void APIENTRY glEvalCoord2dv (const GLdouble *u); WINGDIAPI void APIENTRY glEvalCoord2f (GLfloat u, GLfloat v); WINGDIAPI void APIENTRY glEvalCoord2fv (const GLfloat *u); /* 求解一维和二维点或线的网格 */ WINGDIAPI void APIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2); WINGDIAPI void APIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); /* 生成及求解一个网格中的单点 */ WINGDIAPI void APIENTRY glEvalPoint1 (GLint i); WINGDIAPI void APIENTRY glEvalPoint2 (GLint i, GLint j); WINGDIAPI void APIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer); //控制反馈模式 WINGDIAPI void APIENTRY glFinish (void); //等待直到OpenGL执行结束 WINGDIAPI void APIENTRY glFlush (void); // 在有限的时间里强制OpenGL的执行 /* 定义雾参数 */ WINGDIAPI void APIENTRY glFogf (GLenum pname, GLfloat param); WINGDIAPI void APIENTRY glFogfv (GLenum pname, const GLfloat *params); WINGDIAPI void APIENTRY glFogi (GLenum pname, GLint param); WINGDIAPI void APIENTRY glFogiv (GLenum pname, const GLint *params); WINGDIAPI void APIENTRY glFrontFace (GLenum mode); // 定义多边形的前面和背面 WINGDIAPI void APIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); //当前矩阵乘上透视矩阵 WINGDIAPI GLuint APIENTRY glGenLists (GLsizei range); //生成一组空的连续的显示列表 WINGDIAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures); //生成纹理名称 /* 返回值或所选参数值 */ WINGDIAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *params); WINGDIAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *params); WINGDIAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *params); WINGDIAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *params); WINGDIAPI void APIENTRY glGetClipPlane (GLenum plane, GLdouble *equation); // 返回特定裁减面的系数 WINGDIAPI GLenum APIENTRY glGetError (void); /* 返回光源参数值 */ WINGDIAPI void APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params); WINGDIAPI void APIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params); /* 返回求值程序参数 */ WINGDIAPI void APIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v); WINGDIAPI void APIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v); WINGDIAPI void APIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v); /* 返回材质参数 */ WINGDIAPI void APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); WINGDIAPI void APIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params); /* 返回特定的像素图 */ WINGDIAPI void APIENTRY glGetPixelMapfv (GLenum map, GLfloat *values); WINGDIAPI void APIENTRY glGetPixelMapuiv (GLenum map, GLuint *values); WINGDIAPI void APIENTRY glGetPixelMapusv (GLenum map, GLushort *values); WINGDIAPI void APIENTRY glGetPointerv (GLenum pname, GLvoid* *params); //返回顶点数据数组的地址 WINGDIAPI void APIENTRY glGetPolygonStipple (GLubyte *mask); //返回多边形的点图案 WINGDIAPI const GLubyte * APIENTRY glGetString (GLenum name); //返回描述当前OpenGl连接的字符串 /* 返回纹理环境参数 */ WINGDIAPI void APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params); WINGDIAPI void APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params); /* 返回纹理坐标生成参数 */ WINGDIAPI void APIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params); WINGDIAPI void APIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params); WINGDIAPI void APIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params); WINGDIAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); //返回一个纹理图象 /* 返回特定的纹理参数的细节级别 */ WINGDIAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); WINGDIAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); /* 返回特定的纹理参数的细节级别 */ WINGDIAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); WINGDIAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
OpenGL(9)GL库API
原创王孟贤 ©著作权
文章分类
©著作权归作者所有:来自51CTO博客作者王孟贤的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:OpenGL(10)GL库API
下一篇:OpenGL(8)GL库API
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
openGL API 之glDrawBuffer(GL_NONE);
指定在当前帧缓冲区的哪个颜色缓冲区进行绘制,并不影响深度、模板缓冲区。
openGL API glDrawBuffer 缓存 默认值 官网 -
opengl库中gl glu glut glaux的区别
GL GLU GLUT的关系OpenGL中的gl库是核
头文件 跨平台 #include