Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows values that are used in the StencilCapsmember of the D3DMCAPSstructure to describe the stencil buffering operations that the device supports (see D3DMSTENCILOP).

Value Description

D3DMSTENCILCAPS_KEEP

Indicates that the device supports the D3DMSTENCILOP_KEEP stencil buffering operation.

D3DMSTENCILCAPS_ZERO

Indicates that the device supports the D3DMSTENCILOP_ZERO stencil buffering operation.

D3DMSTENCILCAPS_REPLACE

Indicates that the device supports the D3DMSTENCILOP_REPLACE stencil buffering operation.

D3DMSTENCILCAPS_INCRSAT

Indicates that the device supports the D3DMSTENCILOP_INCRSAT stencil buffering operation.

D3DMSTENCILCAPS_DECRSAT

Indicates that the device supports the D3DMSTENCILOP_DECRSAT stencil buffering operation.

D3DMSTENCILCAPS_INVERT

Indicates that the device supports the D3DMSTENCILOP_INVERT stencil buffering operation.

D3DMSTENCILCAPS_INCR

Indicates that the device supports the D3DMSTENCILOP_INCR stencil buffering operation.

D3DMSTENCILCAPS_DECR

Indicates that the device supports the D3DMSTENCILOP_DECR stencil buffering operation.

Requirements

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

See Also