public void addMaterialExtension(MaterialExtension extension) {
        extensions.put(extension.getBaseMaterialName(), extension);
    }
Adds a new material extension to the set of extensions.

@param extension The {@link MaterialExtension} to add.
jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/matext/MaterialExtensionSet.java