Package com.ms.com.directX |
|
 Previous |
 Microsoft Packages |
 Index |
 Next |
D3DPSHADECAPS_ Values
Use with the dwShadeCaps field of the d3dFindDeviceSearch class.
- D3DPSHADECAPS_ALPHAFLATBLEND
- D3DPSHADECAPS_ALPHAFLATSTIPPLED
- Device can support an alpha component for flat blended and stippled transparency, respectively (the D3DSHADE_FLAT state). In these modes, the alpha color component for a primitive is provided as part of the color for the first vertex of the primitive.
- D3DPSHADECAPS_ALPHAGOURAUDBLEND
- D3DPSHADECAPS_ALPHAGOURAUDSTIPPLED
- Device can support an alpha component for Gouraud blended and stippled transparency, respectively (the D3DSHADE_GOURAUD state). In these modes, the alpha color component for a primitive is provided at vertices and interpolated across a face along with the other color components.
- D3DPSHADECAPS_ALPHAPHONGBLEND
- D3DPSHADECAPS_ALPHAPHONGSTIPPLED
- Device can support an alpha component for Phong blended and stippled transparency, respectively (the D3DSHADE_PHONG state). In these modes, vertex parameters are reevaluated on a per-pixel basis, applying lighting effects for the red, green, and blue color components. Phong shading is not currently supported.
- D3DPSHADECAPS_COLORFLATMONO
- D3DPSHADECAPS_COLORFLATRGB
- Device can support colored flat shading in the D3DCOLOR_MONO and D3DCOLOR_RGB color models, respectively. In these modes, the color component for a primitive is provided as part of the color for the first vertex of the primitive. In monochromatic lighting modes, only the blue component of the color is interpolated; in RGB lighting modes, of course, the red, green, and blue components are interpolated.
- D3DPSHADECAPS_COLORGOURAUDMONO
- D3DPSHADECAPS_COLORGOURAUDRGB
- Device can support colored Gouraud shading in the D3DCOLOR_MONO and D3DCOLOR_RGB color models, respectively. In these modes, the color component for a primitive is provided at vertices and interpolated across a face along with the other color components. In monochromatic lighting modes, only the blue component of the color is interpolated; in RGB lighting modes, of course, the red, green, and blue components are interpolated.
- D3DPSHADECAPS_COLORPHONGMONO
- D3DPSHADECAPS_COLORPHONGRGB
- Device can support colored Phong shading in the D3DCOLOR_MONO and D3DCOLOR_RGB color models, respectively. In these modes, vertex parameters are reevaluated on a per-pixel basis. Lighting effects are applied for the red, green, and blue color components in RGB mode, and for the blue component only for monochromatic mode. Phong shading is not currently supported.
- D3DPSHADECAPS_FOGFLAT
- D3DPSHADECAPS_FOGGOURAUD
- D3DPSHADECAPS_FOGPHONG
- Device can support fog in the flat, Gouraud, and Phong shading models, respectively. Phong shading is not currently supported.
- D3DPSHADECAPS_SPECULARFLATMONO
- D3DPSHADECAPS_SPECULARFLATRGB
- Device can support specular highlights in flat shading in the D3DCOLOR_MONO and D3DCOLOR_RGB color models, respectively.
- D3DPSHADECAPS_SPECULARGOURAUDMONO
- D3DPSHADECAPS_SPECULARGOURAUDRGB
- Device can support specular highlights in Gouraud shading in the D3DCOLOR_MONO and D3DCOLOR_RGB color models, respectively.
- D3DPSHADECAPS_SPECULARPHONGMONO
- D3DPSHADECAPS_SPECULARPHONGRGB
- Device can support specular highlights in Phong shading in the D3DCOLOR_MONO and D3DCOLOR_RGB color models, respectively. Phong shading is not currently supported.