TexGenREnable

> # NAME

> TexGenREnable - 3D API texture coordinate generation for R enable

> # USAGE

> TexGenREnable[ndx] = bool(enable)

> # VALID ENUMERANTS

> enable: true, false

> # DESCRIPTION

> Set the OpenGL texture coordinate generation for R enable for the given texture coordinate set index. See the GL_TEXTURE_GEN_R description on the OpenGL glEnable manual page for details.

> The standard reset callback sets the TexGenREnable state to bool(false).

> The index ndx identifies the texture coordinate set and must be greater or equal to zero and less than the value of GL_MAX_TEXTURE_UNITS (typically 2 or 4).

> # OPENGL FUNCTIONALITY REQUIREMENTS

> OpenGL 1.0

> # DIRECT3D FUNCTIONALITY REQUIREMENTS

> Not applicable; D3DTSS_TEXCOORDINDEX texture stage state determines texture coordinate generation without regard to enable state.

> # SEE ALSO

> TexGenSEnable, TexGenTEnable, TexGenQEnable