setStencilCompareFunction

Sets the stencil comparison function (default is ALWAYS).

It's possible to set separate stencil comparison functions; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the comparison function(s) updated by this call.

Parameters

func

Comparison function

face

Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)


Sets the stencil comparison function for both front and back faces (default is ALWAYS).

Parameters

func

Comparison function

Sets the stencil comparison function (default is ALWAYS).

It's possible to set separate stencil comparison functions; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the comparison function(s) updated by this call.

Parameters

func

Comparison function

face

Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)


Sets the stencil comparison function for both front and back faces (default is ALWAYS).

Parameters

func

Comparison function

Sets the stencil comparison function (default is ALWAYS).

It's possible to set separate stencil comparison functions; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the comparison function(s) updated by this call.

Parameters

func

Comparison function

face

Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)


Sets the stencil comparison function for both front and back faces (default is ALWAYS).

Parameters

func

Comparison function

Sets the stencil comparison function (default is ALWAYS).

It's possible to set separate stencil comparison functions; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the comparison function(s) updated by this call.

Parameters

func

Comparison function

face

Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)


Sets the stencil comparison function for both front and back faces (default is ALWAYS).

Parameters

func

Comparison function

Sets the stencil comparison function (default is ALWAYS).

It's possible to set separate stencil comparison functions; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the comparison function(s) updated by this call.

Parameters

func

Comparison function

face

Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)


Sets the stencil comparison function for both front and back faces (default is ALWAYS).

Parameters

func

Comparison function