D3DSHADEMODE

typedef enum _D3DSHADEMODE {

D3DSHADE_FLAT = 1,

D3DSHADE_GOURAUD = 2,

D3DSHADE_PHONG = 3,

} D3DSHADEMODE;

Describes the supported shade mode for the D3DRENDERSTATE_SHADEMODE render state in the D3DRENDERSTATETYPE enumerated type.

D3DSHADE_FLAT

Flat shade mode. The color of the first vertex in the triangle is used to determine the color of the face.

D3DSHADE_GOURAUD

Gouraud shade mode. The color of the face is determined by a linear interpolation between all three of the triangle's vertices.

D3DSHADE_PHONG

Phong shade mode is not supported for DirectX 2.