public void clearFrame() {
        shadersUsed.clear();
        texturesUsed.clear();
        fbosUsed.clear();

        numObjects = 0;
        numTriangles = 0;
        numVertices = 0;
        numShaderSwitches = 0;
        numTextureBinds = 0;
        numFboSwitches = 0;
        numUniformsSet = 0;

        lastShader = -1;
    }
Clears all frame-specific statistics such as objects used per frame.
jme3-core/src/main/java/com/jme3/renderer/Statistics.java