> ## Name

> StencilOp - 3D API stencil op

> ## Usage

> StencilOp = int3(sfail, dpfail, dppass)

> ## Valid Enumerants

> sfail, dpfail, dppass: Keep, Zero, Replace, Incr, Decr, Invert, IncrWrap, DecrWrap, IncrSat, DecrSat

> ## Description

> Specify actions for stencil and depth tests. See the OpenGL glStencilOp manual page for details. See the D3DRS_STENCILFAIL, D3DRS_STENCILZFAIL, and D3DRS_STENCILPASS render state descriptions for DirectX 9.

> The standard reset callback sets the StencilOp state to int3(Keep, Keep, Keep).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> ClearStencil, StencilEnable, StencilFail, StencilFunc, StencilFuncSeparate, StencilMask, StencilMaskSeparate, StencilOpSeparate, StencilPass, StencilRef, StencilTestEnable, StencilTestTwoSideEnable, StencilWriteMask, StencilZFail, TwoSidedStencilMode