Name
StencilOpSeparate - 3D API stencil op separate
Usage
StencilOpSeparate = int4(face, sfail, dpfail, dppass)
Valid Enumerants
face: Front, Back, FrontAndBack sfail, dpfail, dppass: Keep, Zero, Replace, Incr, Decr, Invert, IncrWrap, DecrWrap, IncrSat, DecrSat
Description
Specify actions for front and/or stencil and depth tests. See the OpenGL glStencilOpSeparate manual page for details. See the D3DRS_STENCILFAIL, D3DRS_STENCILZFAIL, D3DRS_STENCILPASS, D3DRS_CCW_STENCILFAIL, D3DRS_CCW_STENCILZFAIL, and D3DRS_CCW_STENCILPASS render state descriptions for DirectX 9.
The standard reset callback sets the StencilOpSeparate state to int4(FrontAndBack, Keep, Keep, Keep).
Opengl Functionality Requirements
OpenGL 2.0
Direct3D Functionality Requirements
DirectX 9
See Also
ClearStencil, StencilEnable, StencilFail, StencilFunc, StencilFuncSeparate, StencilMask, StencilMaskSeparate, StencilOp, StencilPass, StencilRef, StencilTestEnable, StencilTestTwoSideEnable, StencilWriteMask, StencilZFail, TwoSidedStencilMode