Click or drag to resize

glStencilFuncSeparate Method

Set front and/or back function and reference value for stencil testing.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void StencilFuncSeparate(
	glFace face,
	glCompareFunc func,
	int reference = 0,
	uint mask = 4294967295
)

Parameters

face
Type: OooglesglFace
specifies whether front and/or back stencil state is updated.
func
Type: OooglesglCompareFunc
the test function. Initial value is Always.
reference (Optional)
Type: SystemInt32
(optional) value that specifies the reference value for the stencil test. reference is clamped to the range [0, 2n - 1], where n is the number of bitplanes in the stencil buffer. The initial value is 0.
mask (Optional)
Type: SystemUInt32
(optional) value that specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
Remarks
See Also

Reference