com.jme3.asset
インタフェース AssetLoader
- 既知のサブインタフェースの一覧:
- JmeImporter
- 既知の実装クラスの一覧:
- GLSLLoader, WAVLoader, XMLImporter
public interface AssetLoader
An interface for asset loaders. An AssetLoader
is responsible
for loading a certain type of asset associated with file extension(s).
The loader will load the data in the provided AssetInfo
object by
calling AssetInfo.openStream()
, returning an object representing
the parsed data.
メソッドの概要 |
java.lang.Object |
load(AssetInfo assetInfo)
Loads asset from the given input stream, parsing it into
an application-usable object. |
load
java.lang.Object load(AssetInfo assetInfo)
throws java.io.IOException
- Loads asset from the given input stream, parsing it into
an application-usable object.
- 戻り値:
- An object representing the resource.
- 例外:
java.io.IOException
- If an I/O error occurs while loading