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
Comparison function
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
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
Comparison function
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
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
Comparison function
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
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
Comparison function
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
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
Comparison function
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
Comparison function