patch [#31216] OpenGL urls updated by Julien DUROURE (julien)

update for the apidocs for the BGL module
This commit is contained in:
Dalai Felinto 2012-05-01 20:45:03 +00:00
parent 4cfa761951
commit ac4b757287

@ -27,7 +27,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Operate on the accumulation buffer. Operate on the accumulation buffer.
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/accum.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glAccum.xml>`_
:type op: Enumerated constant :type op: Enumerated constant
:arg op: The accumulation buffer operation. :arg op: The accumulation buffer operation.
@ -39,7 +39,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the alpha test function. Specify the alpha test function.
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/alphafunc.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glAlphaFunc.xml>`_
:type func: Enumerated constant :type func: Enumerated constant
:arg func: Specifies the alpha comparison function. :arg func: Specifies the alpha comparison function.
@ -52,7 +52,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Determine if textures are loaded in texture memory Determine if textures are loaded in texture memory
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/aretexturesresident.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glAreTexturesResident.xml>`_
:type n: int :type n: int
:arg n: Specifies the number of textures to be queried. :arg n: Specifies the number of textures to be queried.
@ -68,7 +68,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Delimit the vertices of a primitive or a group of like primatives Delimit the vertices of a primitive or a group of like primatives
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/begin.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glBegin.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: Specifies the primitive that will be create from vertices between :arg mode: Specifies the primitive that will be create from vertices between
@ -79,7 +79,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Bind a named texture to a texturing target Bind a named texture to a texturing target
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/bindtexture.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glBindTexture.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the target to which the texture is bound. :arg target: Specifies the target to which the texture is bound.
@ -91,7 +91,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Draw a bitmap Draw a bitmap
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/bitmap.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glBitmap.xml>`_
:type width, height: int :type width, height: int
:arg width, height: Specify the pixel width and height of the bitmap image. :arg width, height: Specify the pixel width and height of the bitmap image.
@ -109,7 +109,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify pixel arithmetic Specify pixel arithmetic
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/blendfunc.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glBlendFunc.xml>`_
:type sfactor: Enumerated constant :type sfactor: Enumerated constant
:arg sfactor: Specifies how the red, green, blue, and alpha source blending factors are :arg sfactor: Specifies how the red, green, blue, and alpha source blending factors are
@ -123,7 +123,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Execute a display list Execute a display list
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/calllist.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glCallList.xml>`_
:type list: unsigned int :type list: unsigned int
:arg list: Specifies the integer name of the display list to be executed. :arg list: Specifies the integer name of the display list to be executed.
@ -133,7 +133,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Execute a list of display lists Execute a list of display lists
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/calllists.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glCallLists.xml>`_
:type n: int :type n: int
:arg n: Specifies the number of display lists to be executed. :arg n: Specifies the number of display lists to be executed.
@ -149,7 +149,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Clear buffers to preset values Clear buffers to preset values
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/clear.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glClear.xml>`_
:type mask: Enumerated constant(s) :type mask: Enumerated constant(s)
:arg mask: Bitwise OR of masks that indicate the buffers to be cleared. :arg mask: Bitwise OR of masks that indicate the buffers to be cleared.
@ -159,7 +159,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify clear values for the accumulation buffer Specify clear values for the accumulation buffer
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/clearaccum.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glClearAccum.xml>`_
:type red, green, blue, alpha: float :type red, green, blue, alpha: float
:arg red, green, blue, alpha: Specify the red, green, blue, and alpha values used when the :arg red, green, blue, alpha: Specify the red, green, blue, and alpha values used when the
@ -170,7 +170,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify clear values for the color buffers Specify clear values for the color buffers
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/clearcolor.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glClearColor.xml>`_
:type red, green, blue, alpha: float :type red, green, blue, alpha: float
:arg red, green, blue, alpha: Specify the red, green, blue, and alpha values used when the :arg red, green, blue, alpha: Specify the red, green, blue, and alpha values used when the
@ -181,7 +181,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the clear value for the depth buffer Specify the clear value for the depth buffer
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/cleardepth.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glClearDepth.xml>`_
:type depth: int :type depth: int
:arg depth: Specifies the depth value used when the depth buffer is cleared. :arg depth: Specifies the depth value used when the depth buffer is cleared.
@ -192,7 +192,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the clear value for the color index buffers Specify the clear value for the color index buffers
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/clearindex.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glClearIndex.xml>`_
:type c: float :type c: float
:arg c: Specifies the index used when the color index buffers are cleared. :arg c: Specifies the index used when the color index buffers are cleared.
@ -203,7 +203,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the clear value for the stencil buffer Specify the clear value for the stencil buffer
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/clearstencil.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glClearStencil.xml>`_
:type s: int :type s: int
:arg s: Specifies the index used when the stencil buffer is cleared. The initial value is 0. :arg s: Specifies the index used when the stencil buffer is cleared. The initial value is 0.
@ -213,7 +213,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify a plane against which all geometry is clipped Specify a plane against which all geometry is clipped
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/clipplane.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glClipPlane.xml>`_
:type plane: Enumerated constant :type plane: Enumerated constant
:arg plane: Specifies which clipping plane is being positioned. :arg plane: Specifies which clipping plane is being positioned.
@ -232,7 +232,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set a new color. Set a new color.
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/color.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml>`_
:type red, green, blue, alpha: Depends on function prototype. :type red, green, blue, alpha: Depends on function prototype.
:arg red, green, blue: Specify new red, green, and blue values for the current color. :arg red, green, blue: Specify new red, green, and blue values for the current color.
@ -244,7 +244,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Enable and disable writing of frame buffer color components Enable and disable writing of frame buffer color components
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/colormask.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glColorMask.xml>`_
:type red, green, blue, alpha: int (boolean) :type red, green, blue, alpha: int (boolean)
:arg red, green, blue, alpha: Specify whether red, green, blue, and alpha can or cannot be :arg red, green, blue, alpha: Specify whether red, green, blue, and alpha can or cannot be
@ -256,7 +256,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Cause a material color to track the current color Cause a material color to track the current color
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/colormaterial.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glColorMaterial.xml>`_
:type face: Enumerated constant :type face: Enumerated constant
:arg face: Specifies whether front, back, or both front and back material parameters should :arg face: Specifies whether front, back, or both front and back material parameters should
@ -269,7 +269,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Copy pixels in the frame buffer Copy pixels in the frame buffer
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/copypixels.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glCopyPixels.xml>`_
:type x, y: int :type x, y: int
:arg x, y: Specify the window coordinates of the lower left corner of the rectangular :arg x, y: Specify the window coordinates of the lower left corner of the rectangular
@ -314,7 +314,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify whether front- or back-facing facets can be culled Specify whether front- or back-facing facets can be culled
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/cullface.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glCullFace.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: Specifies whether front- or back-facing facets are candidates for culling. :arg mode: Specifies whether front- or back-facing facets are candidates for culling.
@ -324,7 +324,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Delete a contiguous group of display lists Delete a contiguous group of display lists
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/deletelists.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glDeleteLists.xml>`_
:type list: unsigned int :type list: unsigned int
:arg list: Specifies the integer name of the first display list to delete :arg list: Specifies the integer name of the first display list to delete
@ -336,7 +336,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Delete named textures Delete named textures
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/deletetextures.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glDeleteTextures.xml>`_
:type n: int :type n: int
:arg n: Specifies the number of textures to be deleted :arg n: Specifies the number of textures to be deleted
@ -348,7 +348,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the value used for depth buffer comparisons Specify the value used for depth buffer comparisons
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/depthfunc.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glDepthFunc.xml>`_
:type func: Enumerated constant :type func: Enumerated constant
:arg func: Specifies the depth comparison function. :arg func: Specifies the depth comparison function.
@ -358,7 +358,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Enable or disable writing into the depth buffer Enable or disable writing into the depth buffer
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/depthmask.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glDepthMask.xml>`_
:type flag: int (boolean) :type flag: int (boolean)
:arg flag: Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, :arg flag: Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE,
@ -370,7 +370,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify mapping of depth values from normalized device coordinates to window coordinates Specify mapping of depth values from normalized device coordinates to window coordinates
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/depthrange.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glDepthRange.xml>`_
:type zNear: int :type zNear: int
:arg zNear: Specifies the mapping of the near clipping plane to window coordinates. :arg zNear: Specifies the mapping of the near clipping plane to window coordinates.
@ -384,7 +384,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Disable server-side GL capabilities Disable server-side GL capabilities
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/enable.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glEnable.xml>`_
:type cap: Enumerated constant :type cap: Enumerated constant
:arg cap: Specifies a symbolic constant indicating a GL capability. :arg cap: Specifies a symbolic constant indicating a GL capability.
@ -394,7 +394,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify which color buffers are to be drawn into Specify which color buffers are to be drawn into
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/drawbuffer.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glDrawBuffer.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: Specifies up to four color buffers to be drawn into. :arg mode: Specifies up to four color buffers to be drawn into.
@ -404,7 +404,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Write a block of pixels to the frame buffer Write a block of pixels to the frame buffer
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/drawpixels.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glDrawPixels.xml>`_
:type width, height: int :type width, height: int
:arg width, height: Specify the dimensions of the pixel rectangle to be :arg width, height: Specify the dimensions of the pixel rectangle to be
@ -423,7 +423,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Flag edges as either boundary or non-boundary Flag edges as either boundary or non-boundary
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/edgeflag.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glEdgeFlag.xml>`_
:type flag: Depends of function prototype :type flag: Depends of function prototype
:arg flag: Specifies the current edge flag value.The initial value is GL_TRUE. :arg flag: Specifies the current edge flag value.The initial value is GL_TRUE.
@ -433,7 +433,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Enable server-side GL capabilities Enable server-side GL capabilities
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/enable.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glEnable.xml>`_
:type cap: Enumerated constant :type cap: Enumerated constant
:arg cap: Specifies a symbolic constant indicating a GL capability. :arg cap: Specifies a symbolic constant indicating a GL capability.
@ -443,14 +443,14 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Delimit the vertices of a primitive or group of like primitives Delimit the vertices of a primitive or group of like primitives
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/begin.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glBegin.xml>`_
.. function:: glEndList(): .. function:: glEndList():
Create or replace a display list Create or replace a display list
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/newlist.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glNewList.xml>`_
.. function:: glEvalCoord (u,v): .. function:: glEvalCoord (u,v):
@ -460,7 +460,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Evaluate enabled one- and two-dimensional maps Evaluate enabled one- and two-dimensional maps
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/evalcoord.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml>`_
:type u: Depends on function prototype. :type u: Depends on function prototype.
:arg u: Specifies a value that is the domain coordinate u to the basis function defined :arg u: Specifies a value that is the domain coordinate u to the basis function defined
@ -478,7 +478,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Compute a one- or two-dimensional grid of points or lines Compute a one- or two-dimensional grid of points or lines
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/evalmesh.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glEvalMesh.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: In glEvalMesh1, specifies whether to compute a one-dimensional :arg mode: In glEvalMesh1, specifies whether to compute a one-dimensional
@ -493,7 +493,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Generate and evaluate a single point in a mesh Generate and evaluate a single point in a mesh
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/evalpoint.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glEvalPoint.xml>`_
:type i: int :type i: int
:arg i: Specifies the integer value for grid domain variable i. :arg i: Specifies the integer value for grid domain variable i.
@ -505,7 +505,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Controls feedback mode Controls feedback mode
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/feedbackbuffer.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glFeedbackBuffer.xml>`_
:type size: int :type size: int
:arg size: Specifies the maximum number of values that can be written into buffer. :arg size: Specifies the maximum number of values that can be written into buffer.
@ -520,14 +520,14 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Block until all GL execution is complete Block until all GL execution is complete
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/finish.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glFinish.xml>`_
.. function:: glFlush(): .. function:: glFlush():
Force Execution of GL commands in finite time Force Execution of GL commands in finite time
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/flush.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glFlush.xml>`_
.. function:: glFog (pname, param): .. function:: glFog (pname, param):
@ -536,7 +536,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify fog parameters Specify fog parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/fog.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml>`_
:type pname: Enumerated constant :type pname: Enumerated constant
:arg pname: Specifies a single-valued fog parameter. If the function prototype :arg pname: Specifies a single-valued fog parameter. If the function prototype
@ -551,7 +551,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Define front- and back-facing polygons Define front- and back-facing polygons
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/frontface.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glFrontFace.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: Specifies the orientation of front-facing polygons. :arg mode: Specifies the orientation of front-facing polygons.
@ -561,7 +561,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Multiply the current matrix by a perspective matrix Multiply the current matrix by a perspective matrix
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/frustum.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glFrustum.xml>`_
:type left, right: double (float) :type left, right: double (float)
:arg left, right: Specify the coordinates for the left and right vertical :arg left, right: Specify the coordinates for the left and right vertical
@ -578,7 +578,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Generate a contiguous set of empty display lists Generate a contiguous set of empty display lists
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/genlists.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGenLists.xml>`_
:type range: int :type range: int
:arg range: Specifies the number of contiguous empty display lists to be generated. :arg range: Specifies the number of contiguous empty display lists to be generated.
@ -588,7 +588,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Generate texture names Generate texture names
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/gentextures.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGenTextures.xml>`_
:type n: int :type n: int
:arg n: Specifies the number of textures name to be generated. :arg n: Specifies the number of textures name to be generated.
@ -602,7 +602,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return the value or values of a selected parameter Return the value or values of a selected parameter
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/get.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml>`_
:type pname: Enumerated constant :type pname: Enumerated constant
:arg pname: Specifies the parameter value to be returned. :arg pname: Specifies the parameter value to be returned.
@ -614,7 +614,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return the coefficients of the specified clipping plane Return the coefficients of the specified clipping plane
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/getclipplane.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetClipPlane.xml>`_
:type plane: Enumerated constant :type plane: Enumerated constant
:arg plane: Specifies a clipping plane. The number of clipping planes depends on the :arg plane: Specifies a clipping plane. The number of clipping planes depends on the
@ -629,7 +629,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return error information Return error information
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/geterror.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetError.xml>`_
.. function:: glGetLight (light, pname, params): .. function:: glGetLight (light, pname, params):
@ -638,7 +638,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return light source parameter values Return light source parameter values
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/getlight.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetLight.xml>`_
:type light: Enumerated constant :type light: Enumerated constant
:arg light: Specifies a light source. The number of possible lights depends on the :arg light: Specifies a light source. The number of possible lights depends on the
@ -656,7 +656,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return evaluator parameters Return evaluator parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/getmap.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetMap.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the symbolic name of a map. :arg target: Specifies the symbolic name of a map.
@ -672,7 +672,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return material parameters Return material parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/getmaterial.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetMaterial.xml>`_
:type face: Enumerated constant :type face: Enumerated constant
:arg face: Specifies which of the two materials is being queried. :arg face: Specifies which of the two materials is being queried.
@ -689,7 +689,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return the specified pixel map Return the specified pixel map
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/getpixelmap.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetPixelMap.xml>`_
:type map: Enumerated constant :type map: Enumerated constant
:arg map: Specifies the name of the pixel map to return. :arg map: Specifies the name of the pixel map to return.
@ -701,7 +701,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return the polygon stipple pattern Return the polygon stipple pattern
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/getpolygonstipple.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetPolygonStipple.xml>`_
:type mask: :class:`bgl.Buffer` object I{type GL_BYTE} :type mask: :class:`bgl.Buffer` object I{type GL_BYTE}
:arg mask: Returns the stipple pattern. The initial value is all 1's. :arg mask: Returns the stipple pattern. The initial value is all 1's.
@ -711,7 +711,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return a string describing the current GL connection Return a string describing the current GL connection
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/getstring.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetString.xml>`_
:type name: Enumerated constant :type name: Enumerated constant
:arg name: Specifies a symbolic constant. :arg name: Specifies a symbolic constant.
@ -724,7 +724,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return texture environment parameters Return texture environment parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/gettexenv.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetTexEnv.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies a texture environment. Must be GL_TEXTURE_ENV. :arg target: Specifies a texture environment. Must be GL_TEXTURE_ENV.
@ -740,7 +740,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return texture coordinate generation parameters Return texture coordinate generation parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/gettexgen.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetTexGen.xml>`_
:type coord: Enumerated constant :type coord: Enumerated constant
:arg coord: Specifies a texture coordinate. :arg coord: Specifies a texture coordinate.
@ -754,7 +754,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return a texture image Return a texture image
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/getteximage.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetTexImage.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies which texture is to be obtained. :arg target: Specifies which texture is to be obtained.
@ -776,7 +776,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
return texture parameter values for a specific level of detail return texture parameter values for a specific level of detail
.. seealso:: U{opengl.org/developers/documentation/man_pages/hardcopy/GL/html/gl/gettexlevelparameter.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetTexLevelParameter.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the symbolic name of the target texture. :arg target: Specifies the symbolic name of the target texture.
@ -795,7 +795,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Return texture parameter values Return texture parameter values
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/gettexparameter.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameter.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the symbolic name of the target texture. :arg target: Specifies the symbolic name of the target texture.
@ -809,7 +809,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify implementation-specific hints Specify implementation-specific hints
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/hint.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glHint.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies a symbolic constant indicating the behavior to be :arg target: Specifies a symbolic constant indicating the behavior to be
@ -824,7 +824,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the current color index Set the current color index
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/index_.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml>`_
:type c: :class:`bgl.Buffer` object. Depends on function prototype. :type c: :class:`bgl.Buffer` object. Depends on function prototype.
:arg c: Specifies a pointer to a one element array that contains the new value for :arg c: Specifies a pointer to a one element array that contains the new value for
@ -835,14 +835,14 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Initialize the name stack Initialize the name stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/initnames.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glInitNames.xml>`_
.. function:: glIsEnabled(cap): .. function:: glIsEnabled(cap):
Test whether a capability is enabled Test whether a capability is enabled
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/isenabled.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glIsEnabled.xml>`_
:type cap: Enumerated constant :type cap: Enumerated constant
:arg cap: Specifies a constant representing a GL capability. :arg cap: Specifies a constant representing a GL capability.
@ -852,7 +852,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Determine if a name corresponds to a display-list Determine if a name corresponds to a display-list
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/islist.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glIsList.xml>`_
:type list: unsigned int :type list: unsigned int
:arg list: Specifies a potential display-list name. :arg list: Specifies a potential display-list name.
@ -862,7 +862,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Determine if a name corresponds to a texture Determine if a name corresponds to a texture
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/istexture.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glIsTexture.xml>`_
:type texture: unsigned int :type texture: unsigned int
:arg texture: Specifies a value that may be the name of a texture. :arg texture: Specifies a value that may be the name of a texture.
@ -874,7 +874,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the light source parameters Set the light source parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/light.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml>`_
:type light: Enumerated constant :type light: Enumerated constant
:arg light: Specifies a light. The number of lights depends on the implementation, :arg light: Specifies a light. The number of lights depends on the implementation,
@ -894,7 +894,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the lighting model parameters Set the lighting model parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/lightmodel.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml>`_
:type pname: Enumerated constant :type pname: Enumerated constant
:arg pname: Specifies a single-value light model parameter. :arg pname: Specifies a single-value light model parameter.
@ -907,7 +907,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the line stipple pattern Specify the line stipple pattern
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/linestipple.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glLineStipple.xml>`_
:type factor: int :type factor: int
:arg factor: Specifies a multiplier for each bit in the line stipple pattern. :arg factor: Specifies a multiplier for each bit in the line stipple pattern.
@ -924,7 +924,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the width of rasterized lines. Specify the width of rasterized lines.
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/linewidth.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml>`_
:type width: float :type width: float
:arg width: Specifies the width of rasterized lines. The initial value is 1. :arg width: Specifies the width of rasterized lines. The initial value is 1.
@ -934,7 +934,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the display-list base for glCallLists Set the display-list base for glCallLists
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/listbase.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glListBase.xml>`_
:type base: unsigned int :type base: unsigned int
:arg base: Specifies an integer offset that will be added to glCallLists :arg base: Specifies an integer offset that will be added to glCallLists
@ -945,7 +945,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Replace the current matrix with the identity matrix Replace the current matrix with the identity matrix
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/loadidentity.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glLoadIdentity.xml>`_
.. function:: glLoadMatrix (m): .. function:: glLoadMatrix (m):
@ -954,7 +954,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Replace the current matrix with the specified matrix Replace the current matrix with the specified matrix
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/loadmatrix.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glLoadMatrix.xml>`_
:type m: :class:`bgl.Buffer` object. Depends on function prototype. :type m: :class:`bgl.Buffer` object. Depends on function prototype.
:arg m: Specifies a pointer to 16 consecutive values, which are used as the elements :arg m: Specifies a pointer to 16 consecutive values, which are used as the elements
@ -965,7 +965,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Load a name onto the name stack. Load a name onto the name stack.
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/loadname.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glLoadName.xml>`_
:type name: unsigned int :type name: unsigned int
:arg name: Specifies a name that will replace the top value on the name stack. :arg name: Specifies a name that will replace the top value on the name stack.
@ -975,7 +975,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify a logical pixel operation for color index rendering Specify a logical pixel operation for color index rendering
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/logicop.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glLogicOp.xml>`_
:type opcode: Enumerated constant :type opcode: Enumerated constant
:arg opcode: Specifies a symbolic constant that selects a logical operation. :arg opcode: Specifies a symbolic constant that selects a logical operation.
@ -987,7 +987,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Define a one-dimensional evaluator Define a one-dimensional evaluator
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/map1.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glMap1.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the kind of values that are generated by the evaluator. :arg target: Specifies the kind of values that are generated by the evaluator.
@ -1012,7 +1012,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Define a two-dimensional evaluator Define a two-dimensional evaluator
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/map2.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glMap2.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the kind of values that are generated by the evaluator. :arg target: Specifies the kind of values that are generated by the evaluator.
@ -1053,7 +1053,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Define a one- or two-dimensional mesh Define a one- or two-dimensional mesh
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/mapgrid.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml>`_
:type un: int :type un: int
:arg un: Specifies the number of partitions in the grid range interval :arg un: Specifies the number of partitions in the grid range interval
@ -1072,7 +1072,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify material parameters for the lighting model. Specify material parameters for the lighting model.
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/material.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml>`_
:type face: Enumerated constant :type face: Enumerated constant
:arg face: Specifies which face or faces are being updated. Must be one of: :arg face: Specifies which face or faces are being updated. Must be one of:
@ -1089,7 +1089,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify which matrix is the current matrix. Specify which matrix is the current matrix.
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/matrixmode.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glMatrixMode.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: Specifies which matrix stack is the target for subsequent matrix operations. :arg mode: Specifies which matrix stack is the target for subsequent matrix operations.
@ -1101,7 +1101,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Multiply the current matrix with the specified matrix Multiply the current matrix with the specified matrix
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/multmatrix.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glMultMatrix.xml>`_
:type m: :class:`bgl.Buffer` object. Depends on function prototype. :type m: :class:`bgl.Buffer` object. Depends on function prototype.
:arg m: Points to 16 consecutive values that are used as the elements of a 4x4 column :arg m: Points to 16 consecutive values that are used as the elements of a 4x4 column
@ -1112,7 +1112,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Create or replace a display list Create or replace a display list
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/newlist.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glNewList.xml>`_
:type list: unsigned int :type list: unsigned int
:arg list: Specifies the display list name :arg list: Specifies the display list name
@ -1127,7 +1127,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the current normal vector Set the current normal vector
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/normal.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml>`_
:type nx, ny, nz: Depends on function prototype. (non - 'v' prototypes only) :type nx, ny, nz: Depends on function prototype. (non - 'v' prototypes only)
:arg nx, ny, nz: Specify the x, y, and z coordinates of the new current normal. :arg nx, ny, nz: Specify the x, y, and z coordinates of the new current normal.
@ -1141,7 +1141,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Multiply the current matrix with an orthographic matrix Multiply the current matrix with an orthographic matrix
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/ortho.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glOrtho.xml>`_
:type left, right: double (float) :type left, right: double (float)
:arg left, right: Specify the coordinates for the left and :arg left, right: Specify the coordinates for the left and
@ -1158,7 +1158,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Place a marker in the feedback buffer Place a marker in the feedback buffer
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/passthrough.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPassThrough.xml>`_
:type token: float :type token: float
:arg token: Specifies a marker value to be placed in the feedback :arg token: Specifies a marker value to be placed in the feedback
@ -1171,7 +1171,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set up pixel transfer maps Set up pixel transfer maps
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pixelmap.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPixelMap.xml>`_
:type map: Enumerated constant :type map: Enumerated constant
:arg map: Specifies a symbolic map name. :arg map: Specifies a symbolic map name.
@ -1187,7 +1187,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set pixel storage modes Set pixel storage modes
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pixelstore.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPixelStore.xml>`_
:type pname: Enumerated constant :type pname: Enumerated constant
:arg pname: Specifies the symbolic name of the parameter to be set. :arg pname: Specifies the symbolic name of the parameter to be set.
@ -1203,7 +1203,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set pixel transfer modes Set pixel transfer modes
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pixeltransfer.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml>`_
:type pname: Enumerated constant :type pname: Enumerated constant
:arg pname: Specifies the symbolic name of the pixel transfer parameter to be set. :arg pname: Specifies the symbolic name of the pixel transfer parameter to be set.
@ -1215,7 +1215,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the pixel zoom factors Specify the pixel zoom factors
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pixelzoom.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPixelZoom.xml>`_
:type xfactor, yfactor: float :type xfactor, yfactor: float
:arg xfactor, yfactor: Specify the x and y zoom factors for pixel write operations. :arg xfactor, yfactor: Specify the x and y zoom factors for pixel write operations.
@ -1225,7 +1225,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the diameter of rasterized points Specify the diameter of rasterized points
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pointsize.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPointSize.xml>`_
:type size: float :type size: float
:arg size: Specifies the diameter of rasterized points. The initial value is 1. :arg size: Specifies the diameter of rasterized points. The initial value is 1.
@ -1235,7 +1235,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Select a polygon rasterization mode Select a polygon rasterization mode
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/polygonmode.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPolygonMode.xml>`_
:type face: Enumerated constant :type face: Enumerated constant
:arg face: Specifies the polygons that mode applies to. :arg face: Specifies the polygons that mode applies to.
@ -1250,7 +1250,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the scale and units used to calculate depth values Set the scale and units used to calculate depth values
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/polygonoffset.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPolygonOffset.xml>`_
:type factor: float :type factor: float
:arg factor: Specifies a scale factor that is used to create a variable depth :arg factor: Specifies a scale factor that is used to create a variable depth
@ -1264,7 +1264,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the polygon stippling pattern Set the polygon stippling pattern
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/polygonstipple.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPolygonStipple.xml>`_
:type mask: :class:`bgl.Buffer` object I{type GL_BYTE} :type mask: :class:`bgl.Buffer` object I{type GL_BYTE}
:arg mask: Specifies a pointer to a 32x32 stipple pattern that will be unpacked :arg mask: Specifies a pointer to a 32x32 stipple pattern that will be unpacked
@ -1275,35 +1275,35 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Pop the server attribute stack Pop the server attribute stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushattrib.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPopAttrib.xml>`_
.. function:: glPopClientAttrib(): .. function:: glPopClientAttrib():
Pop the client attribute stack Pop the client attribute stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushclientattrib.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPopClientAttrib.xml>`_
.. function:: glPopMatrix(): .. function:: glPopMatrix():
Pop the current matrix stack Pop the current matrix stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushmatrix.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPopMatrix.xml>`_
.. function:: glPopName(): .. function:: glPopName():
Pop the name stack Pop the name stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushname.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPopName.xml>`_
.. function:: glPrioritizeTextures(n, textures, priorities): .. function:: glPrioritizeTextures(n, textures, priorities):
Set texture residence priority Set texture residence priority
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/prioritizetextures.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPrioritizeTextures.xml>`_
:type n: int :type n: int
:arg n: Specifies the number of textures to be prioritized. :arg n: Specifies the number of textures to be prioritized.
@ -1319,7 +1319,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Push the server attribute stack Push the server attribute stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushattrib.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPushAttrib.xml>`_
:type mask: Enumerated constant(s) :type mask: Enumerated constant(s)
:arg mask: Specifies a mask that indicates which attributes to save. :arg mask: Specifies a mask that indicates which attributes to save.
@ -1329,7 +1329,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Push the client attribute stack Push the client attribute stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushclientattrib.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPushClientAttrib.xml>`_
:type mask: Enumerated constant(s) :type mask: Enumerated constant(s)
:arg mask: Specifies a mask that indicates which attributes to save. :arg mask: Specifies a mask that indicates which attributes to save.
@ -1339,14 +1339,14 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Push the current matrix stack Push the current matrix stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushmatrix.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPushMatrix.xml>`_
.. function:: glPushName(name): .. function:: glPushName(name):
Push the name stack Push the name stack
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushname.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glPushName.xml>`_
:type name: unsigned int :type name: unsigned int
:arg name: Specifies a name that will be pushed onto the name stack. :arg name: Specifies a name that will be pushed onto the name stack.
@ -1362,7 +1362,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify the raster position for pixel operations Specify the raster position for pixel operations
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/rasterpos.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml>`_
:type x, y, z, w: Depends on function prototype. (z and w for '3' and '4' prototypes only) :type x, y, z, w: Depends on function prototype. (z and w for '3' and '4' prototypes only)
:arg x, y, z, w: Specify the x,y,z, and w object coordinates (if present) for the :arg x, y, z, w: Specify the x,y,z, and w object coordinates (if present) for the
@ -1394,7 +1394,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Select a color buffer source for pixels. Select a color buffer source for pixels.
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/readbuffer.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glReadBuffer.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: Specifies a color buffer. :arg mode: Specifies a color buffer.
@ -1404,7 +1404,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Read a block of pixels from the frame buffer Read a block of pixels from the frame buffer
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/readpixels.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml>`_
:type x, y: int :type x, y: int
:arg x, y: Specify the window coordinates of the first pixel that is read :arg x, y: Specify the window coordinates of the first pixel that is read
@ -1427,7 +1427,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Draw a rectangle Draw a rectangle
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/rect.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml>`_
:type x1, y1: Depends on function prototype. (for non 'v' prototypes only) :type x1, y1: Depends on function prototype. (for non 'v' prototypes only)
:arg x1, y1: Specify one vertex of a rectangle :arg x1, y1: Specify one vertex of a rectangle
@ -1442,7 +1442,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set rasterization mode Set rasterization mode
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/rendermode.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glRenderMode.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: Specifies the rasterization mode. :arg mode: Specifies the rasterization mode.
@ -1454,7 +1454,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Multiply the current matrix by a rotation matrix Multiply the current matrix by a rotation matrix
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/rotate.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glRotate.xml>`_
:type angle: Depends on function prototype. :type angle: Depends on function prototype.
:arg angle: Specifies the angle of rotation in degrees. :arg angle: Specifies the angle of rotation in degrees.
@ -1468,7 +1468,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Multiply the current matrix by a general scaling matrix Multiply the current matrix by a general scaling matrix
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/scale.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glScale.xml>`_
:type x, y, z: Depends on function prototype. :type x, y, z: Depends on function prototype.
:arg x, y, z: Specify scale factors along the x, y, and z axes, respectively. :arg x, y, z: Specify scale factors along the x, y, and z axes, respectively.
@ -1478,7 +1478,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Define the scissor box Define the scissor box
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/scissor.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glScissor.xml>`_
:type x, y: int :type x, y: int
:arg x, y: Specify the lower left corner of the scissor box. Initially (0, 0). :arg x, y: Specify the lower left corner of the scissor box. Initially (0, 0).
@ -1492,7 +1492,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Establish a buffer for selection mode values Establish a buffer for selection mode values
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/selectbuffer.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glSelectBuffer.xml>`_
:type size: int :type size: int
:arg size: Specifies the size of buffer :arg size: Specifies the size of buffer
@ -1504,7 +1504,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Select flat or smooth shading Select flat or smooth shading
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/shademodel.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glShadeModel.xml>`_
:type mode: Enumerated constant :type mode: Enumerated constant
:arg mode: Specifies a symbolic value representing a shading technique. :arg mode: Specifies a symbolic value representing a shading technique.
@ -1514,7 +1514,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set function and reference value for stencil testing Set function and reference value for stencil testing
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/stencilfunc.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuc.xml>`_
:type func: Enumerated constant :type func: Enumerated constant
:arg func: Specifies the test function. :arg func: Specifies the test function.
@ -1531,7 +1531,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Control the writing of individual bits in the stencil planes Control the writing of individual bits in the stencil planes
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/stencilmask.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glStencilMask.xml>`_
:type mask: unsigned int :type mask: unsigned int
:arg mask: Specifies a bit mask to enable and disable writing of individual bits :arg mask: Specifies a bit mask to enable and disable writing of individual bits
@ -1542,7 +1542,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set stencil test actions Set stencil test actions
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/stencilop.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glStencilOp.xml>`_
:type fail: Enumerated constant :type fail: Enumerated constant
:arg fail: Specifies the action to take when the stencil test fails. :arg fail: Specifies the action to take when the stencil test fails.
@ -1570,7 +1570,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the current texture coordinates Set the current texture coordinates
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/texcoord.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml>`_
:type s, t, r, q: Depends on function prototype. (r and q for '3' and '4' prototypes only) :type s, t, r, q: Depends on function prototype. (r and q for '3' and '4' prototypes only)
:arg s, t, r, q: Specify s, t, r, and q texture coordinates. Not all parameters are :arg s, t, r, q: Specify s, t, r, and q texture coordinates. Not all parameters are
@ -1586,7 +1586,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set texture environment parameters Set texture environment parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/texenv.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies a texture environment. Must be GL_TEXTURE_ENV. :arg target: Specifies a texture environment. Must be GL_TEXTURE_ENV.
@ -1605,7 +1605,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Control the generation of texture coordinates Control the generation of texture coordinates
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/texgen.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml>`_
:type coord: Enumerated constant :type coord: Enumerated constant
:arg coord: Specifies a texture coordinate. :arg coord: Specifies a texture coordinate.
@ -1623,7 +1623,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify a one-dimensional texture image Specify a one-dimensional texture image
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/teximage1d.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glTexImage1D.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the target texture. :arg target: Specifies the target texture.
@ -1650,7 +1650,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify a two-dimensional texture image Specify a two-dimensional texture image
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/teximage2d.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glTexImage2D.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the target texture. :arg target: Specifies the target texture.
@ -1683,7 +1683,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set texture parameters Set texture parameters
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/texparameter.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml>`_
:type target: Enumerated constant :type target: Enumerated constant
:arg target: Specifies the target texture. :arg target: Specifies the target texture.
@ -1700,7 +1700,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Multiply the current matrix by a translation matrix Multiply the current matrix by a translation matrix
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/translate.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glTranslate.xml>`_
:type x, y, z: Depends on function prototype. :type x, y, z: Depends on function prototype.
:arg x, y, z: Specify the x, y, and z coordinates of a translation vector. :arg x, y, z: Specify the x, y, and z coordinates of a translation vector.
@ -1715,7 +1715,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Specify a vertex Specify a vertex
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/vertex.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml>`_
:type x, y, z, w: Depends on function prototype (z and w for '3' and '4' prototypes only) :type x, y, z, w: Depends on function prototype (z and w for '3' and '4' prototypes only)
:arg x, y, z, w: Specify x, y, z, and w coordinates of a vertex. Not all parameters :arg x, y, z, w: Specify x, y, z, and w coordinates of a vertex. Not all parameters
@ -1731,7 +1731,7 @@ OpenGL}" and the online NeHe tutorials are two of the best resources.
Set the viewport Set the viewport
.. seealso:: `OpenGL Docs <http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/viewport.html>`_ .. seealso:: `OpenGL Docs <http://www.opengl.org/sdk/docs/man/xhtml/glViewport.xml>`_
:type x, y: int :type x, y: int
:arg x, y: Specify the lower left corner of the viewport rectangle, :arg x, y: Specify the lower left corner of the viewport rectangle,