private void clearUniformsSetByCurrent(Shader shader) {
        ListMap<String, Uniform> uniforms = shader.getUniformMap();
        int size = uniforms.size();
        for (int i = 0; i < size; i++) {
            Uniform u = uniforms.getValue(i);
            u.clearSetByCurrentMaterial();
        }
    }
Preloads this material for the given render manager.
<p>
Preloading the material can ensure that when the material is first
used for rendering, there won't be any delay since the material has
been already been setup for rendering.

@param renderManager The render manager to preload for
@param geometry to determine the applicable parameter overrides, if any
jme3-core/src/main/java/com/jme3/material/Material.java