TexGenSMode
Keywords: TexGenSMode, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> TexGenSMode - 3D API tex gen S mode

> ## Usage

> TexGenSMode[i] = int(mode)

> ## Valid Enumerants

> mode: ObjectLinear, EyeLinear, SphereMap, ReflectionMap, NormalMap

> ## Description

> Specify the S texture coordinate generation mode. See the GL_TEXTURE_GEN_MODE description on the OpenGL glTexGen manual page for details.

> The standard reset callback sets the TexGenSMode[i] state to int(EyeLinear).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> Not applicable.

> ## See Also

> TexGenSEnable, TexGenSEyePlane, TexGenSObjectPlane, TexGenQMode, TexGenRMode, TexGenTMode