gluQuadricTexture

gluQuadricTexture
NAME
gluQuadricTexture -- specify if texturing is desired for quadrics
C SPECIFICATION
void gluQuadricTexture(GLUquadricObj *quadObject,
GLboolean textureCoords)
PARAMETERS
quadObject
Specifies the quadrics object (created with gluNewQuadric).
textureCoords
Specifies a flag indicating if texture coordinates should be generated.
DESCRIPTION
gluQuadricTexture specifies if texture coordinates should be generated for quadrics rendered with quadObject. If the value of textureCoords is GL_TRUE, then texture coordinates are generated, and if textureCoords is GL_FALSE, they are not. The default is GL_FALSE.
The manner in which texture coordinates are generated depends upon the specific quadric rendered.

相關詞條

相關搜尋

熱門詞條

聯絡我們