Package com.jme3.material.plugins
Class J3MLoader
java.lang.Object
com.jme3.material.plugins.J3MLoader
- All Implemented Interfaces:
AssetLoader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Loads asset from the given input stream, parsing it into an application-usable object.loadMaterialDef
(List<Statement> roots, AssetManager manager, AssetKey key)
-
Constructor Details
-
J3MLoader
public J3MLoader()
-
-
Method Details
-
load
Description copied from interface:AssetLoader
Loads asset from the given input stream, parsing it into an application-usable object.- Specified by:
load
in interfaceAssetLoader
- Parameters:
info
- the located asset- Returns:
- An object representing the resource.
- Throws:
IOException
- If an I/O error occurs while loading
-
loadMaterialDef
public MaterialDef loadMaterialDef(List<Statement> roots, AssetManager manager, AssetKey key) throws IOException - Throws:
IOException
-
initNodesLoader
protected void initNodesLoader()
-