setStencilOpStencilFail

Sets the stencil fail operation (default is KEEP).

The stencil fail operation is performed to update values in the stencil buffer when the stencil test fails.

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

Parameters

op

Operation to apply

face

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


Sets the stencil fail operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply

Sets the stencil fail operation (default is KEEP).

The stencil fail operation is performed to update values in the stencil buffer when the stencil test fails.

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

Parameters

op

Operation to apply

face

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


Sets the stencil fail operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply

Sets the stencil fail operation (default is KEEP).

The stencil fail operation is performed to update values in the stencil buffer when the stencil test fails.

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

Parameters

op

Operation to apply

face

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


Sets the stencil fail operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply

Sets the stencil fail operation (default is KEEP).

The stencil fail operation is performed to update values in the stencil buffer when the stencil test fails.

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

Parameters

op

Operation to apply

face

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


Sets the stencil fail operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply

Sets the stencil fail operation (default is KEEP).

The stencil fail operation is performed to update values in the stencil buffer when the stencil test fails.

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

Parameters

op

Operation to apply

face

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


Sets the stencil fail operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply