AssetLoader for Pixmap instances. The Pixmap is loaded asynchronously.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Array | getDependencies(String fileName, FileHandle file, PixmapLoader.
Implements abstract com. Returns the assets this asset requires to be loaded first. |
| public void | loadAsync(AssetManager manager, String fileName, FileHandle file, PixmapLoader.
Implements abstract com. Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager. |
| public Pixmap | loadSync(AssetManager manager, String fileName, FileHandle file, PixmapLoader.
Implements abstract com. Loads the OpenGL part of the asset. |
| pixmap | back to summary |
|---|---|
| pack-priv Pixmap pixmap | |
| PixmapLoader | back to summary |
|---|---|
| public PixmapLoader(FileHandleResolver resolver) | |
| getDependencies | back to summary |
|---|---|
| public Array Implements abstract com. Doc from com. Returns the assets this asset requires to be loaded first. This method may be called on a thread other than the GL thread.
| |
| loadAsync | back to summary |
|---|---|
| public void loadAsync(AssetManager manager, String fileName, FileHandle file, PixmapLoader. Implements abstract com. Doc from com. Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.
| |
| loadSync | back to summary |
|---|---|
| public Pixmap loadSync(AssetManager manager, String fileName, FileHandle file, PixmapLoader. Implements abstract com. Doc from com. Loads the OpenGL part of the asset.
| |
| Access | Constructor and Description |
|---|---|
| public |
| PixmapParameter | back to summary |
|---|---|
| public PixmapParameter() | |