Description
demonstrate the use of the stencil buffer via DrawOp"
"a circle is drawn to the stencil buffer, with a value of 1, but not to the screen"
"next a box is drawn, but only at pixels where the stencil buffer is exactly 1"
"Requires OpenGL with stencil support (set stencil bits 8 in Preferences OpenGL)"
"TODO: use getCap to find out STENCIL buffer support