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
Bitmask 0, 255; only masked bits participate in comparison
Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)
Sets the stencil read mask for both front and back faces (default is 0xFF / 255 / all bits).
Parameters
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
Bitmask 0, 255; only masked bits participate in comparison
Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)
Sets the stencil read mask for both front and back faces (default is 0xFF / 255 / all bits).
Parameters
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
Bitmask 0, 255; only masked bits participate in comparison
Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)
Sets the stencil read mask for both front and back faces (default is 0xFF / 255 / all bits).
Parameters
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
Bitmask 0, 255; only masked bits participate in comparison
Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)
Sets the stencil read mask for both front and back faces (default is 0xFF / 255 / all bits).
Parameters
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
Bitmask 0, 255; only masked bits participate in comparison
Which face(s) this applies to (FRONT, BACK, or FRONT_AND_BACK)
Sets the stencil read mask for both front and back faces (default is 0xFF / 255 / all bits).
Parameters
Bitmask 0, 255; only masked bits participate in comparison