public interface AssetProcessor
AssetProcessoris used to apply processing to assets after they have been loaded. They are assigned to a particular asset type (which is represented by a
Classand any assets loaded that are of that class will be processed by the assigned processor.
|Modifier and Type||Method and Description|
Creates a clone of the given asset.
Applies post processing to an asset.
java.lang.Object postProcess(AssetKey key, java.lang.Object obj)
key- the key used to load the asset
obj- The asset that was loaded from an
java.lang.Object createClone(java.lang.Object obj)
Materialshould 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
obj- The asset to clone