> ## Name

> StencilZFail - 3D API stencil Z fail

> ## Usage

> StencilZFail = int(dpfail)

> ## Valid Enumerants

> dpfail: integer value

> ## Description

> Specifies action for when the stencil test passes but the depth test fails. See the dpfail parameter description on the OpenGL glStencilOp manual page for details. See the D3DRS_STENCILZFAIL render state description for DirectX 9.

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

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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