Signature
glTexGen()->
Parameters
Variables | Description |
---|---|
coord |
Specifies a texture coordinate.
Must be one of
GL_S
,
GL_T
,
GL_R
, or
GL_Q
.
|
pname |
Specifies the symbolic name of the texture-coordinate generation function.
Must be
GL_TEXTURE_GEN_MODE
.
|
param |
Specifies a single-valued texture generation parameter,
one of
GL_OBJECT_LINEAR
,
GL_EYE_LINEAR
,
GL_SPHERE_MAP
,
GL_NORMAL_MAP
, or
GL_REFLECTION_MAP
.
|
Sample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glTexGenfv
glTexGeni