setStencilReadMask

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

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

face

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


actual fun setStencilReadMask(readMask: Int)

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

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

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

face

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


expect fun setStencilReadMask(readMask: Int)

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

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

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

face

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


actual fun setStencilReadMask(readMask: Int)

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

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

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

face

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


actual fun setStencilReadMask(readMask: Int)

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

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

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison

face

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


actual fun setStencilReadMask(readMask: Int)

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

Parameters

readMask

Bitmask 0, 255; only masked bits participate in comparison