public void setClearStencil(boolean clearStencil) {
        this.clearStencil = clearStencil;
    }
Enables or disables clearing of the stencil buffer for this ViewPort.

<p>By default stencil clearing is disabled.

@param clearStencil Enable/disable stencil buffer clearing.
jme3-core/src/main/java/com/jme3/renderer/ViewPort.java