Clearing states?

How do I clear stuff like stencil buffer,color buffer,depth buffer?

The renderer can clear color and depth buffer (clear* methods).



To my knowledge the stencil buffer can only be cleared with a direct lwjgl call:

GL11.glClear(GL11.GL_STENCIL_BUFFER_BIT);