[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

gluQuadricTexture Subroutine

Purpose

Specifies if texturing is desired for quadrics.

Library

OpenGL C bindings library: libGL.a

C Syntax

void gluQuadricTexture( GLUquadric*quad, 
   GLboolean texture )

Description

The gluQuadricTexture subroutine specifies if texture coordinates should be generated for quadrics rendered with the quad parameter option. If the value of the texture parameter is GL_TRUE, texture coordinates are generated, and if the value of the texture parameter is GL_FALSE, they are not generated. The default is GL_FALSE.

Note: The manner in which texture coordinates are generated depends upon the specific quadric rendered.

Parameters

quad Specifies the quadrics object created with the gluNewQuadric subroutine.
texture Specifies a flag indicating if texture coordinates should be generated. Valid values are GL_TRUE and GL_FALSE.

Files

/usr/include/GL/gl.h Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The gluNewQuadric subroutine, gluQuadricDrawStyle subroutine, gluQuadricNormals subroutine, gluQuadricOrientation subroutine.

OpenGL Overview.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]