Microsoft DirectX 8.1 (Visual Basic)

CONST_D3DSTENCILCAPFLAGS

Defines stencil buffer capability flags

Enum CONST_D3DSTENCILCAPFLAGS
    D3DSTENCILCAPS_KEEP    =   1
    D3DSTENCILCAPS_ZERO    =   2
    D3DSTENCILCAPS_REPLACE =   4
    D3DSTENCILCAPS_INCRSAT =   8
    D3DSTENCILCAPS_DECRSAT =  16 (&H10)
    D3DSTENCILCAPS_INVERT  =  32 (&H20)
    D3DSTENCILCAPS_INCR    =  64 (&H40)
    D3DSTENCILCAPS_DECR    = 128 (&H80)
End Enum

Constants

D3DSTENCILCAPS_KEEP
The D3DSTENCILOP_KEEP operation is supported.
D3DSTENCILCAPS_ZERO
The D3DSTENCILOP_ZERO operation is supported.
D3DSTENCILCAPS_REPLACE
The D3DSTENCILOP_REPLACE operation is supported.
D3DSTENCILCAPS_INCRSAT
The D3DSTENCILOP_INCRSAT operation is supported.
D3DSTENCILCAPS_DECRSAT
The D3DSTENCILOP_DECRSAT operation is supported.
D3DSTENCILCAPS_INVERT
The D3DSTENCILOP_INVERT operation is supported.
D3DSTENCILCAPS_INCR
The D3DSTENCILOP_INCR operation is supported.
D3DSTENCILCAPS_DECR
The D3DSTENCILOP_DECR operation is supported.

Remarks

These flags may be combined and present in the StencilCaps member of D3DCAPS8.

For a definition of stencil operations, see CONST_D3DSTENCILOP.

See Also

D3DCAPS8, CONST_D3DSTENCILOP