setStencilOpDepthStencilPass

Sets the depth-stencil pass operation (default is KEEP).

The depth-stencil pass operation is performed to update values in the stencil buffer when both the stencil test and depth test pass.

It's possible to set separate depth-stencil pass operations; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the depth-stencil pass 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 depth-stencil pass operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply

Sets the depth-stencil pass operation (default is KEEP).

The depth-stencil pass operation is performed to update values in the stencil buffer when both the stencil test and depth test pass.

It's possible to set separate depth-stencil pass operations; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the depth-stencil pass 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 depth-stencil pass operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply

Sets the depth-stencil pass operation (default is KEEP).

The depth-stencil pass operation is performed to update values in the stencil buffer when both the stencil test and depth test pass.

It's possible to set separate depth-stencil pass operations; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the depth-stencil pass 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 depth-stencil pass operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply

Sets the depth-stencil pass operation (default is KEEP).

The depth-stencil pass operation is performed to update values in the stencil buffer when both the stencil test and depth test pass.

It's possible to set separate depth-stencil pass operations; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the depth-stencil pass 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 depth-stencil pass operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply

Sets the depth-stencil pass operation (default is KEEP).

The depth-stencil pass operation is performed to update values in the stencil buffer when both the stencil test and depth test pass.

It's possible to set separate depth-stencil pass operations; one for front-facing polygons, and one for back-facing polygons. The face parameter determines the depth-stencil pass 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 depth-stencil pass operation for both front and back faces (default is KEEP).

Parameters

op

Operation to apply