control the generation of texture coordinates
Signature
glTexGend(
GLenum (
coord
)
,
GLenum (
pname
)
,
GLdouble (
param
)
)-> void
glTexGendv(
GLenum (
coord
)
,
GLenum (
pname
)
,
const GLdouble * (
params
)
)-> void
glTexGenf(
GLenum (
coord
)
,
GLenum (
pname
)
,
GLfloat (
param
)
)-> void
glTexGenfv(
GLenum (
coord
)
,
GLenum (
pname
)
,
const GLfloat * (
params
)
)-> void
glTexGeniv(
GLenum (
coord
)
,
GLenum (
pname
)
,
const GLint * (
params
)
)-> void
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.