ShadeMode.3CgFX

Langue: en

Version: Cg Toolkit 3.0 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

ShadeMode - 3D API shade mode

USAGE

ShadeMode = int(model)

VALID ENUMERANTS

model: Flat, Smooth, Gouraud, Phong

DESCRIPTION

Specify the shading model. See the OpenGL glShadeModel manual page for details. See the D3DRS_SHADEMODE render state description for DirectX 9.

The standard reset callback sets the ShadeMode state to int(Smooth).

OPENGL FUNCTIONALITY REQUIREMENTS

OpenGL 1.0

DIRECT3D FUNCTIONALITY REQUIREMENTS

DirectX 9

SEE ALSO

ShadeModel