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: integer value
mask: integer value
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,
TwoSidedStencilMode
|