Rediger

Del via


GLU Functions

This section includes reference pages, in alphabetical order, for all OpenGL Utility Library functions. For background information about these functions, see OpenGL Utility Library.

Function Description
gluBeginCurve, gluEndCurve Delimit a Non-Uniform Rational B-Spline (NURBS) curve definition.
gluBeginPolygon, gluEndPolygon Delimit a polygon description.
gluBeginSurface, gluEndSurface Delimit a NURBS surface definition.
gluBeginTrim, gluEndTrim Delimit a NURBS trimming loop definition.
gluBuild1DMipmaps Creates 1-D mipmaps.
gluBuild2DMipmaps Creates 2-D mipmaps.
gluCylinder Draws a cylinder.
gluDeleteNurbsRenderer Destroys a NURBS object.
gluDeleteQuadric Destroys a quadric object.
gluDeleteTess Destroys a tessellation object.
gluDisk Draws a disk.
gluErrorString Produces an error string from an OpenGL or GLU error code. The error string is ANSI only.
gluGetNurbsProperty Retrieves a NURBS property.
gluGetString Retrieves a string that describes the GLU version number or supported GLU extension calls.
gluGetTessProperty Retrieves a tessellation object property.
gluLoadSamplingMatrices Loads NURBS sampling and culling matrices.
gluLookAt Defines a viewing transformation.
gluNewNurbsRenderer Creates a NURBS object.
gluNewQuadric Creates a quadric object.
gluNewTess Creates a tessellation object.
gluNextContour Marks the beginning of another contour.
gluNurbsCallback Defines a callback for a NURBS object.
gluNurbsCurve Defines the shape of a NURBS curve.
gluNurbsProperty Sets a NURBS property.
gluNurbsSurface Defines the shape of a NURBS surface.
gluOrtho2D Defines a 2-D orthographic projection matrix.
gluPartialDisk Draws an arc of a disk.
gluPerspective Sets up a perspective projection matrix.
gluPickMatrix Defines a picking region.
gluProject Maps object coordinates to window coordinates.
gluPwlCurve Describes a piecewise linear NURBS trimming curve.
gluQuadricCallback Defines a callback for a quadric object.
gluQuadricDrawStyle Specifies the draw style desired for quadrics.
gluQuadricNormals Specifies what kind of normals are to be used for quadrics.
gluQuadricOrientation Specifies inside or outside orientation for quadrics.
gluQuadricTexture Specifies whether quadrics are to be textured.
gluScaleImage Scales an image to an arbitrary size.
gluSphere Draws a sphere.
gluTessBeginContour, gluTessEndContour Delimit a contour description.
gluTessBeginPolygon, gluTessEndPolygon Delimit a polygon description.
gluTessCallback Defines a callback for a tessellation object.
gluTessNormal Specifies a normal for a polygon.
gluTessProperty Sets the property of a tessellation object.
gluTessVertex Specifies a vertex on a polygon.
gluUnProject Maps window coordinates to object coordinates.