> ## Name

> TextureEnvMode - 3D API texture env mode

> ## Usage

> TextureEnvMode[i] = int(mode)

> ## Valid Enumerants

> mode: Modulate, Decal, Blend, Replace, Add

> ## Description

> Set the texture environment mode. See the GL_TEXTURE_ENV_MODE description on the OpenGL glTexEnv manual page for details. See the D3DTSS_COLOROP texture stage state description for DirectX 9.

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

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> ColorOp, Texture1DEnable, Texture2DEnable, Texture3DEnable, TextureCubeMapEnable, TextureRectangleEnable, Texture1D, Texture2D, Texture3D, TextureCubeMap, TextureRectangle, TextureEnvColor, TextureFactor, TextureMatrix, TextureTransform, TextureTransformFlags, Texture, MagFilter, MaxMipLevel, MinFilter, MipFilter, MipMapLodBias