Partager via


D3DMPRASTERCAPS Values (Windows Embedded CE 6.0)

1/6/2010

The following table shows values that are used in the RasterCaps member of the D3DMCAPS structure to describe the device's rasterization and pixel processing capabilities.

Value Description

D3DMPRASTERCAPS_ANISOTROPY

Indicates that the device supports anisotropic texture filtering.

D3DMPRASTERCAPS_COLORPERSPECTIVE

Indicates that the device iterates perspective-correct colors.

D3DMPRASTERCAPS_DEPTHBIAS

Indicates that the device supports a bias value for the depth buffering operation. This corresponds to the D3DMRS_DEPTHBIAS render state (see D3DMRENDERSTATETYPE).

D3DMPRASTERCAPS_DITHER

Indicates that the device supports the ability to both enable and disable dithering as part of the pixel processing stage. This corresponds to the D3DMRS_DITHERENABLE render state (see D3DMRENDERSTATETYPE).

D3DMPRASTERCAPS_EXPFOG

Indicates that the device supports the D3DMFOG_EXP fog mode (see D3DMFOGMODE) during transformation and lighting.

D3DMPRASTERCAPS_EXP2FOG

Indicates that the device supports the D3DMFOG_EXP2 fog mode (see D3DMFOGMODE) during transformation and lighting.

D3DMPRASTERCAPS_FOGRANGE

Indicates that the device supports range-based fog. This corresponds to the D3DMRS_RANGEFOGENABLE render state. For more information, see D3DMRENDERSTATETYPE.

D3DMPRASTERCAPS_FOGTABLE

Indicates that the device supports pixel-based fogging.

D3DMPRASTERCAPS_FOGVERTEX

Indicates that the device supports vertex during rasterization and linear fog during transformation and lighting. These are the minimum capabilities that device must support to expose this capability bit. A device that exposes this capability bit may also support higher order fog equations during transformation and lighting and specular alpha values in FVFs during rasterization. For more information, see Fog.

D3DMPRASTERCAPS_MIPMAPLODBIAS

Indicates that the device supports a LOD bias for mipmapping. This corresponds to the D3DMTSS_MIPMAPLODBIAS texture stage state (see D3DMTEXTURESTAGESTATETYPE).

D3DMPRASTERCAPS_SLOPESCALEDEPTHBIAS

Indicates that the device supports the bias value for the depth buffering operation. This corresponds to the D3DMRS_SLOPESCALEDEPTHBIAS render state (see D3DMRENDERSTATETYPE).

D3DMPRASTERCAPS_STENCIL

Indicates that the device supports stencil buffering. See the documentation for the StencilCaps member of the D3DMCAPS structure for more details.

D3DMPRASTERCAPS_STRETCHBLTMULTISAMPLE

Indicates that the device implements multisampling using a stretch blit from the back buffer to the front buffer.

D3DMPRASTERCAPS_WBUFFER

Indicates that the device supports depth buffering using the pixel's W value.

D3DMPRASTERCAPS_WFOG

Indicates that the device supports w-based fog. W-based fog is used when a perspective projection matrix is specified, but affine projections still use z-based fog. The Direct3D Mobile middleware considers a projection matrix that contains a nonzero value in the [3][4] element to be a perspective projection matrix.

D3DMPRASTERCAPS_ZBUFFERLESSHSR

Indicates that the device supports hidden surface removal without a depth buffer. To use the hidden surface removal, create the device as if there was a depth buffer, and proceed normally.

D3DMPRASTERCAPS_ZFOG

Indicates that the device supports fogging using the Z value.

Requirements

Header d3dmcaps.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Direct3D Mobile Capability Bits
Direct3D Mobile Macros