ShadeMode Enumeration |
Language: |
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
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center