The D3DSHADEMODE enumerated type describes the supported shade mode for the D3DRENDERSTATE_SHADEMODE render state in the D3DRENDERSTATETYPE enumerated type.
typedef enum _D3DSHADEMODE { 
    D3DSHADE_FLAT         = 1, 
    D3DSHADE_GOURAUD      = 2, 
    D3DSHADE_PHONG        = 3, 
    D3DSHADE_FORCE_DWORD  = 0x7fffffff, 
} D3DSHADEMODE; 
   Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dtypes.h.