Microsoft DirectX 9.0 SDK Update (October 2004)

ShadeCaps Structure

Language:

Note: This documentation is preliminary and is subject to change.

Defines shading operation capabilities.

Definition

Visual Basic .NET Public Structure ShadeCaps
C# public struct ShadeCaps
Managed C++ public __value struct ShadeCaps
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
ToString Obtains a string representation of the current instance.
Property Description
SupportsAlphaGouraudBlend Specifies whether the device supports an alpha component for Gouraud-blended transparency.
SupportsColorGouraudRgb Specifies whether the device supports colored Gouraud shading in the RGB color model.
SupportsFogGouraud Specifies whether the device supports fog in the Gouraud shading mode.
SupportsSpecularGouraudRgb Specifies whether the device supports Gouraud shading of specular highlights.

Remarks

It is generally assumed that if a device supports a shading operation at all, it at least supports flat shading.

When alpha components are not supported, the alpha value of generated colors is implicitly 255. This is the maximum possible alpha (that is, the alpha component is at full intensity).

Structure Information

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

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center