This documentation is archived and is not being maintained.
ShadeMode Enumeration
Visual Studio 2008
Defines constants that describe the supported shading modes.
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
| Member name | Description | |
|---|---|---|
![]() | Flat | Flat shading mode. The color and specular component of the first vertex in the triangle are used to determine the color and specular component of the face. These colors remain constant across the triangle; that is, they are not interpolated. The specular alpha is interpolated. |
![]() | Gouraud | The Gouraud shading mode. The color and specular components of the face are determined by a linear interpolation between all three of the triangle's vertices. |
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
