NAME

ClipPlaneEnable - 3D API clip plane enable

USAGE

ClipPlaneEnable[ndx] = bool(enable)

VALID ENUMERANTS

enable: true, false

DESCRIPTION

Set the OpenGL or Direct3D clip plane enable. See the GL_CLIP_PLANEn description on the OpenGL glEnable manual page for details. See the D3DRS_CLIPPLANEENABLE render state description.

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

The index ndx identifies the clip plane must be greater or equal to zero and less than the value of GL_MAX_CLIP_PLANES (typically 6). DirectX 9 supports 6 clip planes.

OPENGL FUNCTIONALITY REQUIREMENTS

OpenGL 1.0

DIRECT3D FUNCTIONALITY REQUIREMENTS

DirectX 9

SEE ALSO

LightingEnable, LightEnable