![]() |
![]() |
![]() |
ShadeMode Enumeration |
Language: |
Defines constants that describe the supported shading modes.
Visual Basic .NET Public Enum ShadeMode C# public enum ShadeMode Managed C++ __value public enum ShadeMode JScript .NET 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.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center