OpenGL API Reference
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
** Reference Pages [#f6ca3f60]
- [[OpenGL 2.1 Reference Pages:http://www.opengl.org/sdk/...
- [[The OpenGL Utility Toolkit (GLUT) Programming Interfa...
** Coordinate System [#w9c93ff5]
*** void glMatrixMode(GLenum mode); [#d91993a7]
- Initial Parameter
GL_MODELVIEW
- Parameters
-- GL_MODELVIEW:
Applies subsequent matrix operations to the modelview mat...
-- GL_PROJECTION:
Applies subsequent matrix operations to the projection ma...
-- GL_TEXTURE
Applies subsequent matrix operations to the texture matri...
-- GL_COLOR
Applies subsequent matrix operations to the color matrix ...
- Description
Specifies which matrix stack is the target for subsequent...
~
To find out which matrix stack is currently the target of...
*** void glLoadIdentity(); [#b87e789a]
- Description
glLoadIdentity replaces the current matrix with the ident...
~
1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1~
but in some cases it is more efficient.
*** void gluOrtho2D(GLdouble left, GLdouble right, GLdoub...
- Parameters
-- left, right
Specify the coordinates for the left and right vertical c...
-- bottom, top
Specify the coordinates for the bottom and top horizontal...
*** void glRasterPos(x, y); [#z6fec9d4]
- Functions
-- glRasterPos2s(GLshort x, GLshort y);
-- glRasterPos2i(GLint x, GLint y);
-- glRasterPos2f(GLfloat x, GLfloat y);
-- glRasterPos2d(GLdouble x, GLdouble y);
-- glRasterPos3s(GLshort x, GLshort y, GLshort z);
-- glRasterPos3i(GLint x, GLint y, GLint z);
-- glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
-- glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
-- glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort...
-- glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
-- glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat...
-- glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdo...
- Parameters
-- x, y, z, w
Specify the x, y, z, and w object coordinates (if present...
** Characters [#v3920d43]
*** void glutBitmapCharacter(void *font, int character); ...
- Description
glutBitmapCharacter renders a bitmap character using Open...
- Parameters
-- GLUT_BITMAP_8_BY_13
-- GLUT_BITMAP_9_BY_15
-- GLUT_BITMAP_TIMES_ROMAN_10
-- GLUT_BITMAP_TIMES_ROMAN_24
-- GLUT_BITMAP_HELVETICA_10
-- GLUT_BITMAP_HELVETICA_12
-- GLUT_BITMAP_HELVETICA_18
** Initialization [#u06208ad]
*** void glClear(GLbitfield mask); [#p93b092f]
- Description
glClear sets the bitplane area of the window to values pr...
~
The pixel ownership test, the scissor test, dithering, an...
~
glClear takes a single argument that is the bitwise OR of...
- Parameters
-- GL_COLOR_BUFFER_BIT
Indicates the buffers currently enabled for color writing.
-- GL_DEPTH_BUFFER_BIT
Indicates the depth buffer.
-- GL_ACCUM_BUFFER_BIT
Indicates the accumulation buffer.
-- GL_STENCIL_BUFFER_BIT
Indicates the stencil buffer.
*** void glClearColor(GLclampf red, GLclampf green, GLcla...
- Description
glClearColor specifies the red, green, blue, and alpha va...
- Parameters
-- red, green, blue, alpha
Specify the red, green, blue, and alpha values used when ...
** Display Function [#r127733a]
*** void glColor3f(GLfloat red, GLfloat green, GLfloat bl...
- Parameters
-- red, green, blue
Specify new red, green, and blue values for the current c...
-- alpha
Specifies a new alpha value for the current color. Includ...
*** void glBegin(GLenum mode); / void glEnd(); [#f4a97a69]
- Description
glBegin and glEnd delimit the vertices that define a prim...
- Parameters
-- GL_POINTS
Treats each vertex as a single point. Vertex n defines po...
-- GL_LINES
Treats each pair of vertices as an independent line segme...
-- GL_LINE_STRIP
Draws a connected group of line segments from the first v...
-- GL_LINE_LOOP
Draws a connected group of line segments from the first v...
-- GL_TRIANGLES
Treats each triplet of vertices as an independent triangl...
-- GL_TRIANGLE_STRIP
Draws a connected group of triangles. One triangle is def...
-- GL_TRIANGLE_FAN
Draws a connected group of triangles. One triangle is def...
-- GL_QUADS
Treats each group of four vertices as an independent quad...
-- GL_QUAD_STRIP
Draws a connected group of quadrilaterals. One quadrilate...
-- GL_POLYGON
Draws a single, convex polygon. Vertices 1 through N defi...
*** void glVertex(); [#x12ea186]
- Functions
-- glVertex2s(GLshort x, GLshort y);
-- glVertex2i(GLint x, GLint y);
-- glVertex2f(GLfloat x, GLfloat y);
-- glVertex2d(GLdouble x, GLdouble y);
-- glVertex3s(GLshort x, GLshort y, GLshort z);
-- glVertex3i(GLint x, GLint y, GLint z);
-- glVertex3f(GLfloat x, GLfloat y, GLfloat z);
-- glVertex3d(GLdouble x, GLdouble y, GLdouble z);
-- glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
-- glVertex4i(GLint x, GLint y, GLint z, GLint w);
-- glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
-- glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdoubl...
- Parameters
-- x, y, z, w
Specify x, y, z, and w coordinates of a vertex. Not all p...
*** void glRect(); [#s57fc687]
- Description
glRect supports efficient specification of rectangles as ...
~
glRect(x1, y1, x2, y2) is exactly equivalent to the follo...
~
glBegin(GL_POLYGON);~
glVertex2(x1, y1);~
glVertex2(x2, y1);~
glVertex2(x2, y2);~
glVertex2(x1, y2);~
glEnd();~
~
Note that if the second vertex is above and to the right ...
- void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLd...
- Parameters
-- x1, y1
Specify one vertex of a rectangle.
-- x2, y2
Specify the opposite vertex of the rectangle.
- void glRectdv(const GLdouble v1, const GLdouble v2);
- Parameters
-- v1
Specifies a pointer to one vertex of a rectangle.
-- v2
Specifies a pointer to the opposite vertex of the rectang...
*** void glFlush(); [#sec0449b]
- Description
Different GL implementations buffer commands in several d...
~
Because any GL program might be executed over a network, ...
*** void glPointSize(GLfloat size); [#v14a5cc5]
- Parameters
-- size
Specifies the diameter of rasterized points. The initial ...
終了行:
** Reference Pages [#f6ca3f60]
- [[OpenGL 2.1 Reference Pages:http://www.opengl.org/sdk/...
- [[The OpenGL Utility Toolkit (GLUT) Programming Interfa...
** Coordinate System [#w9c93ff5]
*** void glMatrixMode(GLenum mode); [#d91993a7]
- Initial Parameter
GL_MODELVIEW
- Parameters
-- GL_MODELVIEW:
Applies subsequent matrix operations to the modelview mat...
-- GL_PROJECTION:
Applies subsequent matrix operations to the projection ma...
-- GL_TEXTURE
Applies subsequent matrix operations to the texture matri...
-- GL_COLOR
Applies subsequent matrix operations to the color matrix ...
- Description
Specifies which matrix stack is the target for subsequent...
~
To find out which matrix stack is currently the target of...
*** void glLoadIdentity(); [#b87e789a]
- Description
glLoadIdentity replaces the current matrix with the ident...
~
1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1~
but in some cases it is more efficient.
*** void gluOrtho2D(GLdouble left, GLdouble right, GLdoub...
- Parameters
-- left, right
Specify the coordinates for the left and right vertical c...
-- bottom, top
Specify the coordinates for the bottom and top horizontal...
*** void glRasterPos(x, y); [#z6fec9d4]
- Functions
-- glRasterPos2s(GLshort x, GLshort y);
-- glRasterPos2i(GLint x, GLint y);
-- glRasterPos2f(GLfloat x, GLfloat y);
-- glRasterPos2d(GLdouble x, GLdouble y);
-- glRasterPos3s(GLshort x, GLshort y, GLshort z);
-- glRasterPos3i(GLint x, GLint y, GLint z);
-- glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
-- glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
-- glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort...
-- glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
-- glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat...
-- glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdo...
- Parameters
-- x, y, z, w
Specify the x, y, z, and w object coordinates (if present...
** Characters [#v3920d43]
*** void glutBitmapCharacter(void *font, int character); ...
- Description
glutBitmapCharacter renders a bitmap character using Open...
- Parameters
-- GLUT_BITMAP_8_BY_13
-- GLUT_BITMAP_9_BY_15
-- GLUT_BITMAP_TIMES_ROMAN_10
-- GLUT_BITMAP_TIMES_ROMAN_24
-- GLUT_BITMAP_HELVETICA_10
-- GLUT_BITMAP_HELVETICA_12
-- GLUT_BITMAP_HELVETICA_18
** Initialization [#u06208ad]
*** void glClear(GLbitfield mask); [#p93b092f]
- Description
glClear sets the bitplane area of the window to values pr...
~
The pixel ownership test, the scissor test, dithering, an...
~
glClear takes a single argument that is the bitwise OR of...
- Parameters
-- GL_COLOR_BUFFER_BIT
Indicates the buffers currently enabled for color writing.
-- GL_DEPTH_BUFFER_BIT
Indicates the depth buffer.
-- GL_ACCUM_BUFFER_BIT
Indicates the accumulation buffer.
-- GL_STENCIL_BUFFER_BIT
Indicates the stencil buffer.
*** void glClearColor(GLclampf red, GLclampf green, GLcla...
- Description
glClearColor specifies the red, green, blue, and alpha va...
- Parameters
-- red, green, blue, alpha
Specify the red, green, blue, and alpha values used when ...
** Display Function [#r127733a]
*** void glColor3f(GLfloat red, GLfloat green, GLfloat bl...
- Parameters
-- red, green, blue
Specify new red, green, and blue values for the current c...
-- alpha
Specifies a new alpha value for the current color. Includ...
*** void glBegin(GLenum mode); / void glEnd(); [#f4a97a69]
- Description
glBegin and glEnd delimit the vertices that define a prim...
- Parameters
-- GL_POINTS
Treats each vertex as a single point. Vertex n defines po...
-- GL_LINES
Treats each pair of vertices as an independent line segme...
-- GL_LINE_STRIP
Draws a connected group of line segments from the first v...
-- GL_LINE_LOOP
Draws a connected group of line segments from the first v...
-- GL_TRIANGLES
Treats each triplet of vertices as an independent triangl...
-- GL_TRIANGLE_STRIP
Draws a connected group of triangles. One triangle is def...
-- GL_TRIANGLE_FAN
Draws a connected group of triangles. One triangle is def...
-- GL_QUADS
Treats each group of four vertices as an independent quad...
-- GL_QUAD_STRIP
Draws a connected group of quadrilaterals. One quadrilate...
-- GL_POLYGON
Draws a single, convex polygon. Vertices 1 through N defi...
*** void glVertex(); [#x12ea186]
- Functions
-- glVertex2s(GLshort x, GLshort y);
-- glVertex2i(GLint x, GLint y);
-- glVertex2f(GLfloat x, GLfloat y);
-- glVertex2d(GLdouble x, GLdouble y);
-- glVertex3s(GLshort x, GLshort y, GLshort z);
-- glVertex3i(GLint x, GLint y, GLint z);
-- glVertex3f(GLfloat x, GLfloat y, GLfloat z);
-- glVertex3d(GLdouble x, GLdouble y, GLdouble z);
-- glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
-- glVertex4i(GLint x, GLint y, GLint z, GLint w);
-- glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
-- glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdoubl...
- Parameters
-- x, y, z, w
Specify x, y, z, and w coordinates of a vertex. Not all p...
*** void glRect(); [#s57fc687]
- Description
glRect supports efficient specification of rectangles as ...
~
glRect(x1, y1, x2, y2) is exactly equivalent to the follo...
~
glBegin(GL_POLYGON);~
glVertex2(x1, y1);~
glVertex2(x2, y1);~
glVertex2(x2, y2);~
glVertex2(x1, y2);~
glEnd();~
~
Note that if the second vertex is above and to the right ...
- void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLd...
- Parameters
-- x1, y1
Specify one vertex of a rectangle.
-- x2, y2
Specify the opposite vertex of the rectangle.
- void glRectdv(const GLdouble v1, const GLdouble v2);
- Parameters
-- v1
Specifies a pointer to one vertex of a rectangle.
-- v2
Specifies a pointer to the opposite vertex of the rectang...
*** void glFlush(); [#sec0449b]
- Description
Different GL implementations buffer commands in several d...
~
Because any GL program might be executed over a network, ...
*** void glPointSize(GLfloat size); [#v14a5cc5]
- Parameters
-- size
Specifies the diameter of rasterized points. The initial ...
ページ名: