public class MaterialKey extends AssetKey<Material>
materials only (not material definitions!).
Material instances use cloneable smart asset management so that they and any
referenced textures will be collected when all instances of the material
become unreachable.| Constructor and Description |
|---|
MaterialKey() |
MaterialKey(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends AssetCache> |
getCacheType() |
java.lang.Class<? extends AssetProcessor> |
getProcessorType() |
clone, equals, getExtension, getExtension, getFolder, getFolder, getName, hashCode, read, reducePath, toString, writepublic MaterialKey(java.lang.String name)
public MaterialKey()
public java.lang.Class<? extends AssetCache> getCacheType()
getCacheType in class AssetKey<Material>SimpleAssetCache is returned.public java.lang.Class<? extends AssetProcessor> getProcessorType()
getProcessorType in class AssetKey<Material>