> ## Name

> StencilFail - 3D API stencil fail

> ## Usage

> StencilFail = int(sfail)

> ## Valid Enumerants

> sfail: integer value

> ## Description

> Specify the action for stencil test failures. See the sfail parameter description on the OpenGL glStencilOp manual page for details. See the D3DRS_STENCILFAIL render state description for DirectX 9.

> The standard reset callback sets the StencilFail state to int(GL_KEEP).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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