gluQuadricTexture function
The gluQuadricTexture function specifies whether quadrics are to be textured.
Syntax
void WINAPI gluQuadricTexture(
GLUquadric *quadObject,
GLboolean textureCoords
);
Parameters
-
quadObject
-
The quadric object (created with gluNewQuadric).
-
textureCoords
-
A flag indicating whether texture coordinates are to be generated. The following values are valid.
Value Meaning - GL_TRUE
Generate texture coordinates. - GL_FALSE
Do not generate texture coordinates. This is the default value.
Return value
This function does not return a value.
Remarks
The gluQuadricTexture function specifies whether texture coordinates are to be generated for quadrics rendered with quadObject.
The manner in which texture coordinates are generated depends upon the specific quadric rendered.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|