Język

GLES20.GlStencilFunc(Int32, Int32, Int32) Method

Definition

Sets the stencil comparison, reference value, and comparison mask for both front and back faces.

[Android.Runtime.Register("glStencilFunc", "(III)V", "")]
public static void GlStencilFunc(int func, int ref, int mask);
[<Android.Runtime.Register("glStencilFunc", "(III)V", "")>]
static member GlStencilFunc : int * int * int -> unit

Parameters

func
Int32

The supported stencil comparison-function token.

ref
Int32

The integer reference, clamped to the stencil buffer's representable nonnegative range.

mask
Int32

The unsigned 32-bit mask bit pattern ANDed with both reference and stored stencil values.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to