setStencilReferenceValue

Sets the stencil reference value (default is 0).

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

Parameters

value

Reference value 0, 255

face

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


actual fun setStencilReferenceValue(value: Int)

Sets the stencil reference value for both front and back faces (default is 0).

Parameters

value

Reference value 0, 255

Sets the stencil reference value (default is 0).

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

Parameters

value

Reference value 0, 255

face

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


expect fun setStencilReferenceValue(value: Int)

Sets the stencil reference value for both front and back faces (default is 0).

Parameters

value

Reference value 0, 255

Sets the stencil reference value (default is 0).

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

Parameters

value

Reference value 0, 255

face

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


actual fun setStencilReferenceValue(value: Int)

Sets the stencil reference value for both front and back faces (default is 0).

Parameters

value

Reference value 0, 255

Sets the stencil reference value (default is 0).

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

Parameters

value

Reference value 0, 255

face

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


actual fun setStencilReferenceValue(value: Int)

Sets the stencil reference value for both front and back faces (default is 0).

Parameters

value

Reference value 0, 255

Sets the stencil reference value (default is 0).

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

Parameters

value

Reference value 0, 255

face

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


actual fun setStencilReferenceValue(value: Int)

Sets the stencil reference value for both front and back faces (default is 0).

Parameters

value

Reference value 0, 255