|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AssetKey | |
---|---|
com.jme3.asset | com.jme3.asset contains the AssetManager ,
a utility class that is used to load assets such as textures, models, and
sound effects in a jME3 application. |
com.jme3.asset.cache | |
com.jme3.asset.plugins | |
com.jme3.audio | |
com.jme3.audio.android | |
com.jme3.material | The com.jme3.material package contains classes for manipulating
jMonkeyEngine materials. |
com.jme3.scene | The com.jme3.input package contains the scene graph implementation
in jMonkeyEngine. |
com.jme3.scene.plugins | |
com.jme3.scene.plugins.ogre | |
com.jme3.scene.plugins.ogre.matext | com.jme3.scene.plugins.ogre.matext allows loading of more advanced
Ogre3D materials that use "base" materials to abstract functionality. |
com.jme3.shader | |
com.jme3.texture |
Uses of AssetKey in com.jme3.asset |
---|
Subclasses of AssetKey in com.jme3.asset | |
---|---|
class |
BlenderKey
Blender key. |
class |
GeneratedTextureKey
This key is mostly used to distinguish between textures that are loaded from the given assets and those being generated automatically. |
class |
MaterialKey
Used for loading materials only (not material definitions!). |
class |
ModelKey
Used to load model files, such as OBJ or Blender models. |
class |
TextureKey
Used to load textures from image files such as JPG or PNG. |
Fields in com.jme3.asset declared as AssetKey | |
---|---|
protected AssetKey |
AssetInfo.key
|
Methods in com.jme3.asset that return AssetKey | |
---|---|
AssetKey<T> |
AssetKey.clone()
|
AssetKey |
AssetInfo.getKey()
|
AssetKey |
CloneableSmartAsset.getKey()
Returns the asset key that is used to track this asset for garbage collection. |
AssetKey |
ImplHandler.getParentKey()
|
Methods in com.jme3.asset with parameters of type AssetKey | ||
---|---|---|
|
DesktopAssetManager.addToCache(AssetKey<T> key,
T asset)
|
|
AssetLoader |
ImplHandler.aquireLoader(AssetKey key)
Returns the AssetLoader registered for the given extension of the current thread. |
|
void |
AssetEventListener.assetDependencyNotFound(AssetKey parentKey,
AssetKey dependentAssetKey)
Called when an asset dependency cannot be found for an asset. |
|
void |
AssetEventListener.assetDependencyNotFound(AssetKey parentKey,
AssetKey dependentAssetKey)
Called when an asset dependency cannot be found for an asset. |
|
void |
AssetEventListener.assetLoaded(AssetKey key)
Called when an asset has been successfully loaded (e.g: loaded from file system and parsed). |
|
void |
AssetEventListener.assetRequested(AssetKey key)
Called when an asset has been requested (e.g any of the load*** methods in AssetManager are called). |
|
|
DesktopAssetManager.deleteFromCache(AssetKey<T> key)
|
|
void |
ImplHandler.establishParentKey(AssetKey parentKey)
Establishes the asset key that is used for tracking dependent assets that have failed to load. |
|
|
DesktopAssetManager.getFromCache(AssetKey<T> key)
|
|
|
AssetManager.loadAsset(AssetKey<T> key)
Load an asset from a key, the asset will be located by one of the AssetLocator implementations provided in the
AssetManager.registerLocator(java.lang.String, java.lang.Class)
call. |
|
|
DesktopAssetManager.loadAsset(AssetKey<T> key)
Thread-safe. |
|
|
ThreadingManager.loadAsset(AssetKey<T> assetKey)
|
|
AssetInfo |
AssetLocator.locate(AssetManager manager,
AssetKey key)
Request to locate an asset. |
|
AssetInfo |
AssetManager.locateAsset(AssetKey<?> key)
Manually locates an asset with the given AssetKey . |
|
AssetInfo |
DesktopAssetManager.locateAsset(AssetKey<?> key)
|
|
java.lang.Object |
AssetProcessor.postProcess(AssetKey key,
java.lang.Object obj)
Applies post processing to an asset. |
|
java.lang.Object |
CloneableAssetProcessor.postProcess(AssetKey key,
java.lang.Object obj)
|
|
void |
ImplHandler.releaseParentKey(AssetKey parentKey)
|
|
void |
CloneableSmartAsset.setKey(AssetKey key)
Set by the AssetManager to track this asset. |
|
AssetInfo |
ImplHandler.tryLocate(AssetKey key)
Attempts to locate the given resource name. |
Constructors in com.jme3.asset with parameters of type AssetKey | |
---|---|
AssetInfo(AssetManager manager,
AssetKey key)
|
|
ThreadingManager.LoadingTask(AssetKey<T> assetKey)
|
Uses of AssetKey in com.jme3.asset.cache |
---|
Methods in com.jme3.asset.cache with parameters of type AssetKey | ||
---|---|---|
|
AssetCache.addToCache(AssetKey<T> key,
T obj)
Adds an asset to the cache. |
|
|
SimpleAssetCache.addToCache(AssetKey<T> key,
T obj)
|
|
|
WeakRefAssetCache.addToCache(AssetKey<T> key,
T obj)
|
|
|
WeakRefCloneAssetCache.addToCache(AssetKey<T> originalKey,
T obj)
|
|
boolean |
AssetCache.deleteFromCache(AssetKey key)
Deletes an asset from the cache. |
|
boolean |
SimpleAssetCache.deleteFromCache(AssetKey key)
|
|
boolean |
WeakRefAssetCache.deleteFromCache(AssetKey key)
|
|
boolean |
WeakRefCloneAssetCache.deleteFromCache(AssetKey key)
|
|
|
AssetCache.getFromCache(AssetKey<T> key)
Retrieves an asset from the cache. |
|
|
SimpleAssetCache.getFromCache(AssetKey<T> key)
|
|
|
WeakRefAssetCache.getFromCache(AssetKey<T> key)
|
|
|
WeakRefCloneAssetCache.getFromCache(AssetKey<T> key)
|
|
|
AssetCache.registerAssetClone(AssetKey<T> key,
T clone)
This should be called by the asset manager when it has successfully acquired a cached asset (with AssetCache.getFromCache(com.jme3.asset.AssetKey) )
and cloned it for use. |
|
|
SimpleAssetCache.registerAssetClone(AssetKey<T> key,
T clone)
|
|
|
WeakRefAssetCache.registerAssetClone(AssetKey<T> key,
T clone)
|
|
|
WeakRefCloneAssetCache.registerAssetClone(AssetKey<T> key,
T clone)
|
Uses of AssetKey in com.jme3.asset.plugins |
---|
Methods in com.jme3.asset.plugins with parameters of type AssetKey | |
---|---|
static UrlAssetInfo |
UrlAssetInfo.create(AssetManager assetManager,
AssetKey key,
java.net.URL url)
|
AssetInfo |
ClasspathLocator.locate(AssetManager manager,
AssetKey key)
|
AssetInfo |
FileLocator.locate(AssetManager manager,
AssetKey key)
|
AssetInfo |
HttpZipLocator.locate(AssetManager manager,
AssetKey key)
|
AssetInfo |
UrlLocator.locate(AssetManager manager,
AssetKey key)
|
AssetInfo |
ZipLocator.locate(AssetManager manager,
AssetKey key)
|
AssetInfo |
AndroidLocator.locate(AssetManager manager,
AssetKey key)
|
Uses of AssetKey in com.jme3.audio |
---|
Subclasses of AssetKey in com.jme3.audio | |
---|---|
class |
AudioKey
AudioKey is extending AssetKey by holding stream flag. |
Uses of AssetKey in com.jme3.audio.android |
---|
Fields in com.jme3.audio.android declared as AssetKey | |
---|---|
protected AssetKey<?> |
AndroidAudioData.assetKey
|
Methods in com.jme3.audio.android that return AssetKey | |
---|---|
AssetKey<?> |
AndroidAudioData.getAssetKey()
|
Methods in com.jme3.audio.android with parameters of type AssetKey | |
---|---|
void |
AndroidAudioData.setAssetKey(AssetKey<?> assetKey)
|
Uses of AssetKey in com.jme3.material |
---|
Methods in com.jme3.material that return AssetKey | |
---|---|
AssetKey |
Material.getKey()
|
Methods in com.jme3.material with parameters of type AssetKey | |
---|---|
java.lang.Object |
MaterialProcessor.postProcess(AssetKey key,
java.lang.Object obj)
|
void |
Material.setKey(AssetKey key)
|
Uses of AssetKey in com.jme3.scene |
---|
Fields in com.jme3.scene declared as AssetKey | |
---|---|
protected AssetKey |
Spatial.key
Used for smart asset caching |
Methods in com.jme3.scene that return AssetKey | |
---|---|
AssetKey |
Spatial.getKey()
|
Methods in com.jme3.scene with parameters of type AssetKey | |
---|---|
void |
Spatial.setKey(AssetKey key)
|
Uses of AssetKey in com.jme3.scene.plugins |
---|
Fields in com.jme3.scene.plugins declared as AssetKey | |
---|---|
protected AssetKey |
MTLLoader.key
|
Uses of AssetKey in com.jme3.scene.plugins.ogre |
---|
Subclasses of AssetKey in com.jme3.scene.plugins.ogre | |
---|---|
class |
OgreMeshKey
OgreMeshKey is used to load Ogre3D mesh.xml models with a specific material file or list. |
Uses of AssetKey in com.jme3.scene.plugins.ogre.matext |
---|
Subclasses of AssetKey in com.jme3.scene.plugins.ogre.matext | |
---|---|
class |
OgreMaterialKey
OgreMaterialKey allows specifying material extensions, which map
from Ogre3D base materials to jME3 materials |
Methods in com.jme3.scene.plugins.ogre.matext with parameters of type AssetKey | |
---|---|
MaterialList |
MaterialExtensionLoader.load(AssetManager assetManager,
AssetKey key,
MaterialExtensionSet matExts,
java.util.List<Statement> statements)
|
Uses of AssetKey in com.jme3.shader |
---|
Subclasses of AssetKey in com.jme3.shader | |
---|---|
class |
ShaderKey
|
Uses of AssetKey in com.jme3.texture |
---|
Methods in com.jme3.texture that return AssetKey | |
---|---|
AssetKey |
Texture.getKey()
|
Methods in com.jme3.texture with parameters of type AssetKey | |
---|---|
java.lang.Object |
TextureProcessor.postProcess(AssetKey key,
java.lang.Object obj)
|
void |
Texture.setKey(AssetKey key)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |