> ## Name

> CompareMode - 3D API compare mode

> ## Usage

> CompareMode = int(mode)

> ## Valid Enumerants

> mode: None, CompareRToTexture

> ## Description

> Specify the texture comparison mode. See the GL_TEXTURE_COMPARE_MODE description on the OpenGL glTexParameter manual page or the GL_ARB_shadow extension for details.

> The standard reset callback sets the CompareMode state to float(None).

> ## Opengl Functionality Requirements

> OpenGL 1.4 or support for extension GL_ARB_shadow.

> ## Direct3D Functionality Requirements

> Not applicable.

> ## See Also

> CompareFunc, DepthMode