The D3DPRIMCAPS structure defines the capabilities for each primitive type. This structure is used when creating a device and when querying the capabilities of a device. This structure defines several members in the D3DDEVICEDESC structure.
typedef struct _D3DPrimCaps {
DWORD dwSize; // size of structure
DWORD dwMiscCaps; // miscellaneous caps
DWORD dwRasterCaps; // raster caps
DWORD dwZCmpCaps; // z-comparison caps
DWORD dwSrcBlendCaps; // source blending caps
DWORD dwDestBlendCaps; // destination blending caps
DWORD dwAlphaCmpCaps; // alpha-test comparison caps
DWORD dwShadeCaps; // shading caps
DWORD dwTextureCaps; // texture caps
DWORD dwTextureFilterCaps; // texture filtering caps
DWORD dwTextureBlendCaps; // texture blending caps
DWORD dwTextureAddressCaps; // texture addressing caps
DWORD dwStippleWidth; // stipple width
DWORD dwStippleHeight; // stipple height
} D3DPRIMCAPS, *LPD3DPRIMCAPS;
This flag was introduced in DirectX 5.0.
This flag was introduced in DirectX 5.0.
This flag was introduced in DirectX 5.0.
This flag was introduced in DirectX 5.0.
This flag was introduced in DirectX 5.0.
This flag was introduced in DirectX 5.0.
This flag was introduced in DirectX 5.0.
Z-bufferless HSR is performed if no depth-buffer surface is attached to the rendering-target surface and the depth-buffer comparison test is enabled (that is, when the state value associated with the D3DRENDERSTATE_ZENABLE enumeration constant is set to TRUE).
This flag was introduced in DirectX 5.0.
With the monochromatic shade modes, the blue channel of the specular component is interpreted as a white intensity. (This is controlled by the D3DRENDERSTATE_MONOENABLE render state.)
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 following:
This flag was introduced in DirectX 5.0.
This flag was introduced in DirectX 5.0.
This flag was introduced in DirectX 5.0.
Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in d3dcaps.h.