Searched defs:asset (Results 1 - 25 of 36) sorted by relevance

12

/external/jmonkeyengine/engine/src/core/com/jme3/asset/
H A DMaterialKey.java1 package com.jme3.asset;
25 public Object createClonedInstance(Object asset){ argument
26 Material mat = (Material) asset;
H A DModelKey.java33 package com.jme3.asset;
56 public Object createClonedInstance(Object asset){ argument
57 Spatial model = (Spatial) asset;
H A DAsset.java33 package com.jme3.asset;
36 * Implementing the asset interface allows use of smart asset management.
38 * Smart asset management requires cooperation from the {@link AssetKey}.
41 * create a clone of the asset and cannot return the same reference,
44 * If the {@link AssetManager#loadAsset(com.jme3.asset.AssetKey) } method
45 * is called twice with the same asset key (equals() wise, not necessarily reference wise)
46 * then both assets will have the same asset key set (reference wise) via
47 * {@link Asset#setKey(com.jme3.asset.AssetKey) }, then this asset ke
[all...]
H A DAssetLoadException.java1 package com.jme3.asset;
5 * is able to find the requested asset, but there was a problem while loading
H A DAssetLoader.java33 package com.jme3.asset;
38 * An interface for asset loaders. An <code>AssetLoader</code> is responsible
39 * for loading a certain type of asset associated with file extension(s).
47 * Loads asset from the given input stream, parsing it into
H A DAssetNotFoundException.java1 package com.jme3.asset;
5 * is unable to locate the requested asset using any of the registered
H A DAssetCache.java33 package com.jme3.asset;
50 public Asset asset; field in class:AssetCache.SmartAssetInfo
67 Asset asset = (Asset) obj;
68 asset.setKey(null); // no circular references
70 smartInfo.asset = asset;
82 * Delete an asset from the cache, returns true if it was deleted successfuly.
97 * Gets an object from the cache given an asset key.
106 return smartCache.get(key).asset;
114 * Retrieves smart asset inf
[all...]
H A DAssetEventListener.java33 package com.jme3.asset;
38 * to receive an event when an asset has been requested
40 * an asset has been loaded.
47 * Called when an asset has been successfully loaded (e.g: loaded from
50 * @param key the AssetKey for the asset loaded.
55 * Called when an asset has been requested (e.g any of the load*** methods
58 * if the asset has failed to load, or if it was retrieved from the cache.
65 * Called when an asset dependency cannot be found for an asset.
66 * When an asset i
[all...]
H A DAssetInfo.java33 package com.jme3.asset;
38 * The result of locating an asset through an AssetKey. Provides
39 * a means to read the asset data through an InputStream.
71 * asset data, starting at the beginning of the file.
73 * @return The asset data.
H A DAssetLocator.java33 package com.jme3.asset;
44 * instance of an asset locator.
49 * Request to locate an asset. The asset key
50 * contains a name identifying the asset.
51 * If an asset was not found, null should be returned.
H A DAssetKey.java33 package com.jme3.asset;
102 * @param asset
104 public Object postProcess(Object asset){ argument
105 return asset;
109 * Create a new instance of the asset, based on a prototype that is stored
112 * asset type.
114 * @param asset The asset to be cloned.
115 * @return The asset, possibly cloned.
117 public Object createClonedInstance(Object asset){ argument
[all...]
H A DAssetConfig.java33 package com.jme3.asset;
43 * <code>AssetConfig</code> loads a config file to configure the asset manager.
H A DThreadingManager.java33 package com.jme3.asset;
/external/jmonkeyengine/engine/src/test/jme3test/asset/
H A DTestAbsoluteLocators.java33 package jme3test.asset;
35 import com.jme3.asset.AssetManager;
36 import com.jme3.asset.DesktopAssetManager;
37 import com.jme3.asset.plugins.ClasspathLocator;
H A DTestManyLocators.java33 package jme3test.asset;
35 import com.jme3.asset.*;
36 import com.jme3.asset.plugins.ClasspathLocator;
37 import com.jme3.asset.plugins.HttpZipLocator;
38 import com.jme3.asset.plugins.UrlLocator;
39 import com.jme3.asset.plugins.ZipLocator;
H A DTestOnlineJar.java33 package jme3test.asset;
36 import com.jme3.asset.TextureKey;
37 import com.jme3.asset.plugins.HttpZipLocator;
H A DTestUrlLoading.java33 package jme3test.asset;
36 import com.jme3.asset.TextureKey;
37 import com.jme3.asset.plugins.UrlLocator;
H A DTestAssetCache.java33 package jme3test.asset;
35 import com.jme3.asset.Asset;
36 import com.jme3.asset.AssetCache;
37 import com.jme3.asset.AssetKey;
54 * Enable cloneable asset use
101 public Object createClonedInstance(Object asset){ argument
125 public Object createClonedInstance(Object asset){ argument
130 return asset;
/external/jmonkeyengine/engine/src/android/com/jme3/asset/
H A DAndroidImageInfo.java1 package com.jme3.asset;
50 * Loads the bitmap directly from the asset info, possibly updating
H A DAndroidAssetManager.java32 package com.jme3.asset;
34 import com.jme3.asset.plugins.AndroidLocator;
35 import com.jme3.asset.plugins.ClasspathLocator;
58 //this(Thread.currentThread().getContextClassLoader().getResource("com/jme3/asset/Android.cfg"));
/external/jmonkeyengine/engine/src/blender/com/jme3/asset/
H A DGeneratedTextureKey.java1 package com.jme3.asset;
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
H A DClasspathLocator.java33 package com.jme3.asset.plugins;
35 import com.jme3.asset.*;
44 * The <code>ClasspathLocator</code> looks up an asset in the classpath.
H A DFileLocator.java33 package com.jme3.asset.plugins;
35 import com.jme3.asset.*;
87 // Now, check asset name requirements
H A DUrlAssetInfo.java1 package com.jme3.asset.plugins;
3 import com.jme3.asset.AssetInfo;
4 import com.jme3.asset.AssetKey;
5 import com.jme3.asset.AssetLoadException;
6 import com.jme3.asset.AssetManager;
H A DUrlLocator.java33 package com.jme3.asset.plugins;
35 import com.jme3.asset.AssetInfo;
36 import com.jme3.asset.AssetKey;
37 import com.jme3.asset.AssetLocator;
38 import com.jme3.asset.AssetManager;
49 * that allows locating the asset.

Completed in 354 milliseconds

12