请输入您要查询的百科知识:

 

词条 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.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/11 6:10:36