 | glStencilOperationSeparate Method |
Set front and/or back stencil test actions.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void StencilOperationSeparate(
glFace face,
glStencilOp stencilFail = glStencilOp.Keep,
glStencilOp depthFail = glStencilOp.Keep,
glStencilOp bothPass = glStencilOp.Keep
)
Public Shared Sub StencilOperationSeparate (
face As glFace,
Optional stencilFail As glStencilOp = glStencilOp.Keep,
Optional depthFail As glStencilOp = glStencilOp.Keep,
Optional bothPass As glStencilOp = glStencilOp.Keep
)
public:
static void StencilOperationSeparate(
glFace face,
glStencilOp stencilFail = glStencilOp::Keep,
glStencilOp depthFail = glStencilOp::Keep,
glStencilOp bothPass = glStencilOp::Keep
)
static member StencilOperationSeparate :
face : glFace *
?stencilFail : glStencilOp *
?depthFail : glStencilOp *
?bothPass : glStencilOp
(* Defaults:
let _stencilFail = defaultArg stencilFail glStencilOp.Keep
let _depthFail = defaultArg depthFail glStencilOp.Keep
let _bothPass = defaultArg bothPass glStencilOp.Keep
*)
-> unit
Parameters
- face
- Type: OooglesglFace
specifies whether front and/or back stencil state is updated. - stencilFail (Optional)
- Type: OooglesglStencilOp
(optional) value that specifies the action to take when the stencil test fails. The initial value is Keep. - depthFail (Optional)
- Type: OooglesglStencilOp
(optional) value that specifies the action to take when the stencil test passes, but the depth test fails. The initial value is Keep. - bothPass (Optional)
- Type: OooglesglStencilOp
(optional) value that specifies the action to take when both the stencil test and depth test pass,
or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. The initial value is Keep.
Remarks
See Also