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

> ## Name

> TwoSidedStencilMode - 3D API two sided stencil mode

> ## Usage

> TwoSidedStencilMode = bool(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Enable Direct3D's two-sided stenciling. See the D3DRS_TWOSIDEDSTENCILMODE render state description for DirectX 9.

> The standard reset callback sets the TwoSidedStencilMode state to bool(false).

> ## Opengl Functionality Requirements

> Not applicable.

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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