Microsoft DirectX 8.1 (Visual Basic)

CONST_D3DPSHADECAPSFLAGS

Defines shading operations capabilities.

Enum CONST_D3DPSHADECAPSFLAGS
    D3DPSHADECAPS_COLORGOURAUDRGB      =       8
    D3DPSHADECAPS_SPECULARGOURAUDRGB   =     512 (&H200)
    D3DPSHADECAPS_ALPHAGOURAUDBLEND    =   16384 (&H4000)
    D3DPSHADECAPS_FOGGOURAUD           =  524288 (&H80000)
End Enum

Constants

D3DPSHADECAPS_COLORGOURAUDRGB
Device can support colored Gouraud shading in the RGB color model. In this mode, the color component for a primitive is provided at vertices and interpolated across a face along with the other color components. In the RGB lighting model, the red, green, and blue components are interpolated.
D3DPSHADECAPS_SPECULARGOURAUDRGB
Device can support specular highlights in Gouraud shading in the RGB color model.
D3DPSHADECAPS_ALPHAGOURAUDBLEND
Device can support an alpha component for Gouraud-blended transparency (the D3DSHADE_GOURAUD state for the CONST_D3DSHADEMODE enumeration). In this mode, the alpha color component of a primitive is provided at vertices and interpolated across a face along with the other color components.
D3DPSHADECAPS_FOGGOURAUD
Device can support fog in the Gouraud shading mode.

Remarks

These flags may be combined and present in the ShadeCaps member of D3DCAPS8.

See Also

D3DCAPS8