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