Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The D3D10_DDI_STENCIL_OP enumeration type contains values that identify operations on stencil buffers in a call to the driver's CreateDepthStencilState function.
Syntax
typedef enum D3D10_DDI_STENCIL_OP {
D3D10_DDI_STENCIL_OP_KEEP,
D3D10_DDI_STENCIL_OP_ZERO,
D3D10_DDI_STENCIL_OP_REPLACE,
D3D10_DDI_STENCIL_OP_INCR_SAT,
D3D10_DDI_STENCIL_OP_DECR_SAT,
D3D10_DDI_STENCIL_OP_INVERT,
D3D10_DDI_STENCIL_OP_INCR,
D3D10_DDI_STENCIL_OP_DECR
} ;
Constants
D3D10_DDI_STENCIL_OP_KEEPDo not update the entry in the stencil buffer. D3D10_DDI_STENCIL_OP_KEEP is the default value. |
D3D10_DDI_STENCIL_OP_ZEROSet the stencil-buffer entry to 0. |
D3D10_DDI_STENCIL_OP_REPLACEReplace the stencil-buffer entry with a reference value. |
D3D10_DDI_STENCIL_OP_INCR_SATIncrement the stencil-buffer entry, clamping to the maximum value. |
D3D10_DDI_STENCIL_OP_DECR_SATDecrement the stencil-buffer entry, clamping to zero. |
D3D10_DDI_STENCIL_OP_INVERTInvert the bits in the stencil-buffer entry. |
D3D10_DDI_STENCIL_OP_INCRIncrement the stencil-buffer entry, wrapping to zero if the new value exceeds the maximum value. |
D3D10_DDI_STENCIL_OP_DECRDecrement the stencil-buffer entry, wrapping to the maximum value if the new value is less than zero. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
| Header | d3d10umddi.h (include D3d10umddi.h) |