|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.asset.CloneableAssetProcessor
public class CloneableAssetProcessor
CloneableAssetProcessor
simply calls Object.clone()
on assets to clone them. No processing is applied.
Constructor Summary | |
---|---|
CloneableAssetProcessor()
|
Method Summary | |
---|---|
java.lang.Object |
createClone(java.lang.Object obj)
Creates a clone of the given asset. |
java.lang.Object |
postProcess(AssetKey key,
java.lang.Object obj)
Applies post processing to an asset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloneableAssetProcessor()
Method Detail |
---|
public java.lang.Object postProcess(AssetKey key, java.lang.Object obj)
AssetProcessor
postProcess
in interface AssetProcessor
obj
- The asset that was loaded from an AssetLoader
.
public java.lang.Object createClone(java.lang.Object obj)
AssetProcessor
Material
should have its own set
of unique parameters that can be changed just for that instance,
but it may share certain other data if it sees fit (like the Shader
).
createClone
in interface AssetProcessor
obj
- The asset to clone
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |