Name

ColorOp - 3D API color operation

Usage

ColorOp = int(op)

Valid Enumerants

op: Disable, SelectArg1, SelectArg2, Modulate, Modulate2x, Modulate4x, Add, AddSigned, AddSigned2x, Subtract, AddSmooth, BlendDiffuseAlpha, BlendTextureAlpha, BlendFactorAlpha, BlendTextureAlphaPM, BlendCurrentAlpha, PreModulate, ModulateAlpha_AddColor, ModulateColor_AddAlpha, ModulateInvAlpha_AddColor, ModulateInvColor_AddAlpha, BumpEnvMap, BumpEnvMapLuminance, DotProduct3, MultiplyAdd, Lerp

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 ColorOp state to int(Modulate) or int(Disable).

Opengl Functionality Requirements

OpenGL 1.0

Direct3D Functionality Requirements

DirectX 9

See Also

TextureEnvMode, AlphaArg0, AlphaArg1, AlphaArg2, AlphaBlendEnable, AlphaFunc, AlphaOp, AlphaRef, AlphaTestEnable, ColorArg0, ColorArg1, ColorArg2, BlendOpAlpha