DirectX SDK

CONST_D3DSTENCILCAPSFLAGS

The CONST_D3DSTENCILCAPSFLAGS enumeration defines stencil buffer capability flags that are combined and present in the lStencilCaps member of the D3DDEVICEDESC7 type.

Enum CONST_D3DSTENCILCAPSFLAGS 
    D3DSTENCILCAPS_DECR = 128
    D3DSTENCILCAPS_DECRSAT = 16
    D3DSTENCILCAPS_INCR = 64
    D3DSTENCILCAPS_INCRSAT = 8
    D3DSTENCILCAPS_INVERT = 32
    D3DSTENCILCAPS_KEEP = 1
    D3DSTENCILCAPS_REPLACE = 4
    D3DSTENCILCAPS_ZERO = 2
End Enum
D3DSTENCILCAPS_DECR
The D3DSTENCILOP_DECR stencil buffer operation is supported.
D3DSTENCILCAPS_DECRSAT
The D3DSTENCILOP_DECRSAT stencil buffer operation is supported.
D3DSTENCILCAPS_INCR
The D3DSTENCILOP_INCR stencil buffer operation is supported.
D3DSTENCILCAPS_INCRSAT
The D3DSTENCILOP_INCRSAT stencil buffer operation is supported.
D3DSTENCILCAPS_INVERT
The D3DSTENCILOP_INVERT stencil buffer operation is supported.
D3DSTENCILCAPS_KEEP
The D3DSTENCILOP_KEEP stencil buffer operation is supported.
D3DSTENCILCAPS_REPLACE
The D3DSTENCILOP_REPLACE stencil buffer operation is supported.
D3DSTENCILCAPS_ZERO
The D3DSTENCILOP_ZERO stencil buffer operation is supported.