public class TextureProcessor extends java.lang.Object implements AssetProcessor
Constructor and Description |
---|
TextureProcessor() |
Modifier and Type | Method and Description |
---|---|
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.
|
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