| Platform SDK: DirectX |
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 of the D3DDEVICEDESC7 structure.
typedef struct _D3DPrimCaps {
DWORD dwSize; //Size of structure
DWORD dwMiscCaps; //Miscellaneous capabilities
DWORD dwRasterCaps; //Raster capabilities
DWORD dwZCmpCaps; //Z-comparison capabilities
DWORD dwSrcBlendCaps; //Source-blending capabilities
DWORD dwDestBlendCaps; //Destination-blending capa bilities
DWORD dwAlphaCmpCaps; //Alpha-test-comparison capabilities
DWORD dwShadeCaps; //Shading capabilities
DWORD dwTextureCaps; //Texture capabilities
DWORD dwTextureFilterCaps; //Texture-filtering capabilities
DWORD dwTextureBlendCaps; //Texture-blending capabilities
DWORD dwTextureAddressCaps; //Texture-addressing capabilities
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.
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 7.0.
With the monochromatic shading 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 shading mode, color model, and 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 with DirectX 7.0
In previous releases of DirectX, this member contained information about the driver's capability for applying texture-blending through the now-obsolete D3DRENDERSTATE_TEXTUREMAPBLEND render state. Information about the texture-blending capabilities for a DirectX 7.0 device is exposed in the dwTextureOpCaps member of the D3DDEVICEDESC7 structure.
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.
Version: Requires DirectX 2.0 or later.
Header: Declared in d3dcaps.h.