See the referenced
JavaDoc
for the full range of functions. Most
of the functions will raise exceptions if the current framebuffer
configuration does not include a stencil buffer; this is considered
to be behaviour preferable to silently producing incorrect results.