ShadeMode Enumeration
.NET Framework 2.0
Defines constants that describe the supported shading modes.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
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 Pocket PC, Windows Mobile for Smartphone
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Reference
Microsoft.WindowsMobile.DirectX.Direct3D NamespaceOther Resources
Mobile Direct3D ProgrammingCommunity Additions
ADD
Show:
