AssetLoader for Cubemap instances. The pixel data is loaded asynchronously. The texture is then created on the
rendering thread, synchronously. Passing a CubemapParameter to
AssetManager#load(String, Class, AssetLoaderParameters) allows one to specify parameters as can be passed to the
various Cubemap constructors, e.g. filtering and so on.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv CubemapLoader. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Array | getDependencies(String fileName, FileHandle file, CubemapLoader.
Implements abstract com. Returns the assets this asset requires to be loaded first. |
| public void | loadAsync(AssetManager manager, String fileName, FileHandle file, CubemapLoader.
Implements abstract com. Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager. |
| public Cubemap | loadSync(AssetManager manager, String fileName, FileHandle file, CubemapLoader.
Implements abstract com. Loads the OpenGL part of the asset. |
| info | back to summary |
|---|---|
| pack-priv CubemapLoader. | |
| CubemapLoader | back to summary |
|---|---|
| public CubemapLoader(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, CubemapLoader. 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 Cubemap loadSync(AssetManager manager, String fileName, FileHandle file, CubemapLoader. Implements abstract com. Doc from com. Loads the OpenGL part of the asset.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Cubemap | |
| pack-priv CubemapData | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public |
| cubemap | back to summary |
|---|---|
| pack-priv Cubemap cubemap | |
| data | back to summary |
|---|---|
| pack-priv CubemapData data | |
| filename | back to summary |
|---|---|
| pack-priv String filename | |
| CubemapLoaderInfo | back to summary |
|---|---|
| public CubemapLoaderInfo() | |
| Modifier and Type | Field and Description |
|---|---|
| public Cubemap | cubemap
The texture to put the |
| public CubemapData | cubemapData
CubemapData for textures created on the fly, optional. |
| public Pixmap. | format
the format of the final Texture. |
| public Texture. | |
| public Texture. | |
| public Texture. | |
| public Texture. |
| Access | Constructor and Description |
|---|---|
| public |
| cubemap | back to summary |
|---|---|
| public Cubemap cubemap The texture to put the | |
| cubemapData | back to summary |
|---|---|
| public CubemapData cubemapData CubemapData for textures created on the fly, optional. When set, all format and genMipMaps are ignored | |
| format | back to summary |
|---|---|
| public Pixmap. the format of the final Texture. Uses the source images format if null | |
| magFilter | back to summary |
|---|---|
| public Texture. | |
| minFilter | back to summary |
|---|---|
| public Texture. | |
| wrapU | back to summary |
|---|---|
| public Texture. | |
| wrapV | back to summary |
|---|---|
| public Texture. | |
| CubemapParameter | back to summary |
|---|---|
| public CubemapParameter() | |