OpenGL(5)GLUT库建模及视频播放API

/* GLUT pre-built models sub-API */
GLUTAPI void APIENTRY glutWireSphere(GLdouble radius, GLint slices, GLint stacks);
//线框球
GLUTAPI void APIENTRY glutSolidSphere(GLdouble radius, GLint slices, GLint stacks);
//实心球
GLUTAPI void APIENTRY glutWireCone(GLdouble base, GLdouble height, GLint slices, GLint stacks);
//线框圆锥体
GLUTAPI void APIENTRY glutSolidCone(GLdouble base, GLdouble height, GLint slices, GLint stacks);
//实心圆锥体
GLUTAPI void APIENTRY glutWireCube(GLdouble size);
//线框立方体
GLUTAPI void APIENTRY glutSolidCube(GLdouble size);
//实心立方体
GLUTAPI void APIENTRY glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings);
//框圆环
GLUTAPI void APIENTRY glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings);
//心圆环
GLUTAPI void APIENTRY glutWireDodecahedron(void);
// 线框12面体
GLUTAPI void APIENTRY glutSolidDodecahedron(void);
//实心12面体
GLUTAPI void APIENTRY glutWireTeapot(GLdouble size);
//线框茶壶
GLUTAPI void APIENTRY glutSolidTeapot(GLdouble size);
//实心茶壶
GLUTAPI void APIENTRY glutWireOctahedron(void);
//线框八面体
GLUTAPI void APIENTRY glutSolidOctahedron(void);
//实心八面体
GLUTAPI void APIENTRY glutWireTetrahedron(void);
//线框4面体
GLUTAPI void APIENTRY glutSolidTetrahedron(void);
//实心4面体
GLUTAPI void APIENTRY glutWireIcosahedron(void);
//线框二十面体
GLUTAPI void APIENTRY glutSolidIcosahedron(void);
//实心二十面体
#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)

/* GLUT video resize sub-API. */
GLUTAPI int APIENTRY glutVideoResizeGet(GLenum param);
/*
返回glut视频大小调整的信息.
参数:
param:
  GLUT_VIDEO_RESIZE_POSSIBLE:如果底层支持视频大小调整,则返回非0值,否则返回0.如果返回0,则其他视频大小调整函数的调用将不起作用.
  GLUT_VIDEO_RESIZE_IN_USE
  GLUT_VIDEO_RESIZE_X_DELTA
  GLUT_VIDEO_RESIZE_Y_DELTA
  GLUT_VIDEO_RESIZE_WIDTH_DELTA
  GLUT_VIDEO_RESIZE_HEIGHT_DELTA
  GLUT_VIDEO_RESIZE_X
  GLUT_VIDEO_RESIZE_Y
  GLUT_VIDEO_RESIZE_WIDTH
  GLUT_VIDEO_RESIZE_HEIGHT
*/
GLUTAPI void APIENTRY glutSetupVideoResizing(void);
//重置视频播放
GLUTAPI void APIENTRY glutStopVideoResizing(void);
//停止播放
GLUTAPI void APIENTRY glutVideoResize(int x, int y, int width, int height);
//视频播放窗口位置设置
GLUTAPI void APIENTRY glutVideoPan(int x, int y, int width, int height);
//可能是画板一类的吧
/* GLUT debugging sub-API. */
GLUTAPI void APIENTRY glutReportErrors(void);
//打印出运行错误
#endif

你可能感兴趣的:(OpenGL(5)GLUT库建模及视频播放API)