HomeSort by relevance Sort by last modified time
    Searched defs:asset (Results 1 - 25 of 49) sorted by null

1 2

  /external/jmonkeyengine/engine/src/core/com/jme3/asset/
AssetLoadException.java 1 package com.jme3.asset;
5 * is able to find the requested asset, but there was a problem while loading
AssetLoader.java 33 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
AssetNotFoundException.java 1 package com.jme3.asset;
5 * is unable to locate the requested asset using any of the registered
Asset.java 33 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...]
AssetEventListener.java 33 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 is loaded, each of its dependent assets that
    [all...]
AssetLocator.java 33 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.
AssetInfo.java 33 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.
MaterialKey.java 1 package com.jme3.asset;
25 public Object createClonedInstance(Object asset){
26 Material mat = (Material) asset;
ModelKey.java 33 package com.jme3.asset;
56 public Object createClonedInstance(Object asset){
57 Spatial model = (Spatial) asset;
AssetCache.java 33 package com.jme3.asset;
50 public Asset asset; field in class:AssetCache.SmartAssetInfo
65 if (obj instanceof Asset && key.useSmartCache()){
67 Asset asset = (Asset) obj; local
68 asset.setKey(null); // no circular references
70 smartInfo.asset = asset;
    [all...]
ThreadingManager.java 33 package com.jme3.asset;
AssetManager.java 33 package com.jme3.asset;
54 * @param loader A ClassLoader that Classes in asset files can be loaded from
65 * asset files.
98 * they were registered, to locate the asset by the {@link AssetKey}.
100 * to the {@link AssetLoader} to load the asset.
110 * @see AssetLocator#locate(com.jme3.asset.AssetManager, com.jme3.asset.AssetKey)
135 * Manually locates an asset with the given {@link AssetKey}. This method
137 * The call will attempt to locate the asset by invoking the
139 * in the same way that the {@link AssetManager#loadAsset(com.jme3.asset.AssetKey)
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/asset/
GeneratedTextureKey.java 1 package com.jme3.asset;
  /external/jmonkeyengine/engine/src/test/jme3test/asset/
TestManyLocators.java 33 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;
TestAbsoluteLocators.java 33 package jme3test.asset;
35 import com.jme3.asset.AssetManager;
36 import com.jme3.asset.DesktopAssetManager;
37 import com.jme3.asset.plugins.ClasspathLocator;
  /external/webkit/Source/WebKit/android/
RenderSkinAndroid.cpp 34 #include <androidfw/Asset.h>
59 android::Asset* asset = am->open(fileName, android::Asset::ACCESS_BUFFER); local
60 if (!asset) {
61 asset = am->openNonAsset(fileName, android::Asset::ACCESS_BUFFER);
62 if (!asset) {
68 bool success = SkImageDecoder::DecodeMemory(asset->getBuffer(false), asset->getLength(), bitmap)
    [all...]
RenderSkinNinePatch.cpp 27 #include <androidfw/Asset.h>
42 Asset* asset = am->open(filename, android::Asset::ACCESS_BUFFER); local
43 if (!asset) {
44 asset = am->openNonAsset(filename, android::Asset::ACCESS_BUFFER);
45 if (!asset) {
52 SkMemoryStream stream(asset->getBuffer(false), asset->getLength())
    [all...]
  /external/jmonkeyengine/engine/src/android/com/jme3/asset/
AndroidAssetManager.java 32 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"));
AndroidImageInfo.java 1 package com.jme3.asset;
50 * Loads the bitmap directly from the asset info, possibly updating
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
ClasspathLocator.java 33 package com.jme3.asset.plugins;
35 import com.jme3.asset.*;
44 * The <code>ClasspathLocator</code> looks up an asset in the classpath.
98 throw new AssetNotFoundException("Asset name doesn't match requirements.\n"+
UrlAssetInfo.java 1 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;
UrlLocator.java 33 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.
ZipLocator.java 33 package com.jme3.asset.plugins;
35 import com.jme3.asset.*;
FileLocator.java 33 package com.jme3.asset.plugins;
35 import com.jme3.asset.*;
87 // Now, check asset name requirements
91 throw new AssetNotFoundException("Asset name doesn't match requirements.\n"+
  /external/jmonkeyengine/engine/src/android/com/jme3/asset/plugins/
AndroidLocator.java 1 package com.jme3.asset.plugins;
3 import com.jme3.asset.*;
21 public AndroidAssetInfo(com.jme3.asset.AssetManager assetManager, AssetKey<?> key, String assetPath, InputStream in) {
39 throw new AssetLoadException("Failed to open asset " + assetPath, ex);
70 public AssetInfo locate(com.jme3.asset.AssetManager manager, AssetKey key) {
84 throw new AssetLoadException("Failed to open asset " + assetPath, ex);

Completed in 1000 milliseconds

1 2