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
Constructors -
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:
getCacheTypein classAssetKey<Material>- Returns:
- The preferred cache class for this asset type. Specify "null"
if caching is to be disabled. By default, the
SimpleAssetCacheis returned.
-
getProcessorType
- Overrides:
getProcessorTypein classAssetKey<Material>- Returns:
- The preferred processor type for this asset type. Specify "null" if no processing is required.
-