StencilFuncSeparate.3CgFX

Langue: en

Version: Cg Toolkit 3.0 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

StencilFuncSeparate - 3D API stencil func separate

USAGE

StencilFuncSeparate = int4(face, func, ref, mask)

VALID ENUMERANTS

face: Front, Back, FrontAndBack func: Never, Less, LEqual, Equal, Greater, NotEqual, GEqual, Always, LessEqual, GreaterEqual ref: mask:

DESCRIPTION

Specify front and/or back stencil test functions. See the OpenGL glStencilFuncSeparate manual page for details. See the D3DRS_STENCILFUNC, D3DRS_STENCILREF, D3DRS_STENCILMASK, and D3DRS_CCW_STENCILFUNC render state descriptions for DirectX 9.

The standard reset callback sets the StencilFuncSeparate state to int4(GL_FRONT_AND_BACK, GL_ALWAYS, 0, ~0).

OPENGL FUNCTIONALITY REQUIREMENTS

OpenGL 2.0

DIRECT3D FUNCTIONALITY REQUIREMENTS

DirectX 9

SEE ALSO

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