DirectX SDK |
The D3DPRIMCAPS type defines the capabilities for each primitive type. This type is used when creating a device and when querying the capabilities of a device. This type defines several members in the D3DDEVICEDESC7 type.
Type D3DPrimCaps lAlphaCmpCaps As CONST_D3DCAPSCMP lDestBlendCaps As CONST_D3DCAPSBLEND lMiscCaps As CONST_D3DCAPSMISC lRasterCaps As CONST_D3DCAPSRASTER lReserved1 As Long lShadeCaps As CONST_D3DCAPSSHADE lSrcBlendCaps As CONST_D3DCAPSBLEND lStippleHeight As Long lStippleWidth As Long lTextureAddressCaps As CONST_D3DCAPSTEXTUREADDRESS lTextureCaps As CONST_D3DCAPSTEXTURE lTextureFilterCaps As CONST_D3DCAPSTEXTUREFILTER lZCmpCaps As CONST_D3DCAPSCMP End Type
The color, specular highlights, fog, and alpha interpolants of a triangle each have capability flags that an application can use to find out how they are implemented by the device driver. These are modified by the shade mode, color model, and by whether the alpha component of a color is blended or stippled. For more information, see 3-D Primitives.
This member can be one or more of the constants of the CONST_D3DCAPSSHADE enumeration.