跳轉到內容

OpenGL 程式設計/參考

來自華夏公益教科書

OpenGL gl.h glu.h glut.h 的函式型別和名稱空間參考
OpenGL 基本測試應用程式 用於本節示例

待分類

[編輯 | 編輯原始碼]
  • void glAccum (GLenum op, GLfloat value);
  • void glAlphaFunc (GLenum func, GLclampf ref);
  • GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
  • void glArrayElement (GLint i);
  • void glBegin (GLenum mode);
  • void glBindTexture (GLenum target, GLuint texture);
  • void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
  • void glBlendFunc (GLenum sfactor, GLenum dfactor);
  • void glCallList (GLuint list);
  • void glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
  • void glClipPlane (GLenum plane, const GLdouble *equation);

顏色

[edit | edit source]
  • glColor 使用顏色指標或一組 R G B A 變數設定顏色,帶或不帶 alpha,多種變數型別作為輸入。

清除

[edit | edit source]
華夏公益教科書