[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 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(GLUquadricObj *qobj, 
   GLboolean TextureCoordinates)

Description

The gluQuadricTexture subroutine specifies if texture coordinates should be generated for quadrics rendered with the qobj parameter option. If the value of the TextureCoordinates parameter is GL_TRUE, texture coordinates are generated, and if the value of the TextureCoordinates 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

qobj Specifies the quadrics object created with the gluNewQuadric subroutine.
TextureCoordinates 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.


[ Previous | Next | Contents | Glossary | Home | Search ]