D3DPMISCCAPS
Miscellaneous driver primitive capability flags.
#define | Value | Description | |
D3DPMISCCAPS_MASKZ | 0x00000002L | Device can enable and disable modification of the depth buffer on pixel operations. | |
D3DPMISCCAPS_CULLNONE | 0x00000010L | The driver does not perform triangle culling. This corresponds to the D3DCULL_NONE member of the D3DCULL enumerated type. | |
D3DPMISCCAPS_CULLCW | 0x00000020L | The driver supports clockwise triangle culling through the D3DRS_CULLMODE state. (This applies only to triangle primitives.) This flag corresponds to the D3DCULL_CW member of the D3DCULL enumerated type. | |
D3DPMISCCAPS_CULLCCW | 0x00000040L | The driver supports counterclockwise culling through the D3DRS_CULLMODE state. (This applies only to triangle primitives.) This flag corresponds to the D3DCULL_CCW member of the D3DCULL enumerated type. | |
D3DPMISCCAPS_COLORWRITEENABLE | 0x00000100L | Device supports per-channel writes for the render-target color buffer through the D3DRS_COLORWRITEENABLE state. | |
D3DPMISCCAPS_CLIPPLANESCALEDPOINTS | 0x00000200L | Device correctly clips scaled points of size greater than 1.0 to user-defined clipping planes. | |
D3DPMISCCAPS_CLIPTLVERTS | 0x00000200L | Device clips post-transformed vertex primitives. Specify D3DUSAGE_DONOTCLIP when the pipeline should not do any clipping. For this case, additional software clipping may need to be performed at draw time, requiring the vertex buffer to be in system memory. |
|
D3DPMISCCAPS_TSSARGTEMP | 0x00000400L | Device supports D3DTA for temporary register. | |
D3DPMISCCAPS_BLENDOP | 0x00000800L | Device supports alpha-blending operations other than D3DBLENDOP_ADD. | |
D3DPMISCCAPS_NULLREFERENCE | 0x00000100L | A reference device that does not render. | |
D3DPMISCCAPS_INDEPENDENTWRITEMASKS | 0x00004000L | Device supports independent write masks for multiple element textures or multiple render targets. | |
D3DPMISCCAPS_PERSTAGECONSTANT | 0x00008000L | Device supports per-stage constants. See D3DTSS_CONSTANT in D3DTEXTURESTAGESTATETYPE. | |
D3DPMISCCAPS_POSTBLENDSRGBCONVERT | 0x00200000L | Device supports conversion to sRGB after blending.
|
|
D3DPMISCCAPS_FOGANDSPECULARALPHA | 0x00010000L | Device supports separate fog and specular alpha. Many devices use the specular alpha channel to store the fog factor. | |
D3DPMISCCAPS_SEPARATEALPHABLEND | 0x00020000L | Device supports separate blend settings for the alpha channel. | |
D3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS | 0x00040000L | Device supports different bit depths for multiple render targets. | |
D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING | 0x00080000L | Device supports post-pixel shader operations for multiple render targets. | |
D3DPMISCCAPS_FOGVERTEXCLAMPED | 0x00100000L | Device clamps fog blend factor per vertex. |
These constants are used by the PrimitiveMiscCaps member of D3DCAPS9.
Constant Information
Requirement | Value |
---|---|
Header | d3d9caps.h |
Minimum operating system | Windows 98 |
Related topics