StencilPass
Keywords: StencilPass, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> StencilPass - 3D API stencil pass

> ## Usage

> StencilPass = int(dppass)

> ## Valid Enumerants

> dppass: integer value

> ## Description

> Specify action to take when both the stencil and depth tests pass. See the dppass parameter description on the OpenGL glStencilOp manual page for details. See the D3DRS_STENCILPASS render state description for DirectX 9.

> The standard reset callback sets the StencilPass 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, StencilRef, StencilTestEnable, StencilTestTwoSideEnable, StencilWriteMask, StencilZFail, TwoSidedStencilMode