Stenciling is an OpenGL state,
which can be enabled/disabled:
The value stored at a pixel in the
stencil buffer may be binary (single bit) or multiple bits. In this way, the stencil buffer can
effectively store multiple stencils.
The number of bits in the stencil
buffer set by the pixel format attributes when the rendering context is