 | 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)
Syntaxpublic static void StencilFuncSeparate(
glFace face,
glCompareFunc func,
int reference = 0,
uint mask = 4294967295
)
Public Shared Sub StencilFuncSeparate (
face As glFace,
func As glCompareFunc,
Optional reference As Integer = 0,
Optional mask As UInteger = 4294967295
)
public:
static void StencilFuncSeparate(
glFace face,
glCompareFunc func,
int reference = 0,
unsigned int mask = 4294967295
)
static member StencilFuncSeparate :
face : glFace *
func : glCompareFunc *
?reference : int *
?mask : uint32
(* Defaults:
let _reference = defaultArg reference 0
let _mask = defaultArg mask 4294967295
*)
-> unit
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