capsule.write(stencilRef, "stencilRef",0); capsule.write(stencilMask, "stencilMask",0);
capsule.write(stencilRef, "stencilRef", 0); capsule.write(stencilWriteMask, "stencilWriteMask", 0); capsule.write(stencilFuncMask, "stencilFuncMask", 0);
    public void write(JMEExporter e) throws IOException {        super.write(e);        OutputCapsule capsule = e.getCapsule(this);        capsule.write(stencilFunc, "stencilFunc", SF_NEVER);        capsule.write(stencilRef, "stencilRef",0);        capsule.write(stencilMask, "stencilMask",0);        capsule.write(stencilOpFail, "stencilOpFail", SO_KEEP);        capsule.write(stencilOpZFail, "stencilOpZFail", SO_KEEP);        capsule.write(stencilOpZPass, "stencilOpZPass", SO_KEEP);    }