setStencilWriteMask

Sets the stencil write mask (default is 0xFF / 255 / all bits).

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

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

face

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


actual fun setStencilWriteMask(writeMask: Int)

Sets the stencil write mask for both front and back faces (default is 0xFF / 255 / all bits).

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

Sets the stencil write mask (default is 0xFF / 255 / all bits).

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

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

face

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


expect fun setStencilWriteMask(writeMask: Int)

Sets the stencil write mask for both front and back faces (default is 0xFF / 255 / all bits).

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

Sets the stencil write mask (default is 0xFF / 255 / all bits).

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

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

face

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


actual fun setStencilWriteMask(writeMask: Int)

Sets the stencil write mask for both front and back faces (default is 0xFF / 255 / all bits).

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

Sets the stencil write mask (default is 0xFF / 255 / all bits).

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

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

face

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


actual fun setStencilWriteMask(writeMask: Int)

Sets the stencil write mask for both front and back faces (default is 0xFF / 255 / all bits).

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

Sets the stencil write mask (default is 0xFF / 255 / all bits).

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

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified

face

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


actual fun setStencilWriteMask(writeMask: Int)

Sets the stencil write mask for both front and back faces (default is 0xFF / 255 / all bits).

Parameters

writeMask

Bitmask 0, 255; only masked bits can be modified