Click or drag to resize

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)
Syntax
public static void StencilOperationSeparate(
	glFace face,
	glStencilOp stencilFail = glStencilOp.Keep,
	glStencilOp depthFail = glStencilOp.Keep,
	glStencilOp bothPass = glStencilOp.Keep
)

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

Reference