ShadeMode Enumeration (Microsoft.DirectX.Direct3D)
Defines constants that describe the supported shading modes.
Visual Basic Public Enum ShadeMode C# public enum ShadeMode C++ public enum class ShadeMode JScript public enum ShadeMode
The first vertex of a triangle for flat shading mode is defined in the following manner.
- For a Triangle Lists, the first vertex of the triangle i is i * 3.
- For a Triangle Strips, the first vertex of the triangle i is vertex i.
- For a Triangle Fans, the first vertex of the triangle i is vertex i + 1.
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) Strong Name Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
Show: