Package com.jme3.asset
Class MaterialKey
Used for loading
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.-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.jme3.asset.AssetKey
clone, equals, getExtension, getExtension, getFolder, getFolder, getName, hashCode, read, reducePath, toString, write
-
Constructor Details
-
MaterialKey
-
MaterialKey
public MaterialKey()
-
-
Method Details
-
getCacheType
- Overrides:
getCacheType
in classAssetKey<Material>
- Returns:
- The preferred cache class for this asset type. Specify "null"
if caching is to be disabled. By default, the
SimpleAssetCache
is returned.
-
getProcessorType
- Overrides:
getProcessorType
in classAssetKey<Material>
- Returns:
- The preferred processor type for this asset type. Specify "null" if no processing is required.
-