AssetLoader to load TextureAtlas instances. Passing a TextureAtlasParameter to
AssetManager#load(String, Class, AssetLoaderParameters) allows to specify whether the atlas regions should be flipped
on the y-axis or not.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv TextureAtlas. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Array | getDependencies(String fileName, FileHandle atlasFile, TextureAtlasLoader.
Implements abstract com. Returns the assets this asset requires to be loaded first. |
| public TextureAtlas | load(AssetManager assetManager, String fileName, FileHandle file, TextureAtlasLoader.
Implements abstract com.
|
| data | back to summary |
|---|---|
| pack-priv TextureAtlas. | |
| TextureAtlasLoader | back to summary |
|---|---|
| public TextureAtlasLoader(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.
| |
| load | back to summary |
|---|---|
| public TextureAtlas load(AssetManager assetManager, String fileName, FileHandle file, TextureAtlasLoader. Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| public boolean | flip
whether to flip the texture atlas vertically |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| flip | back to summary |
|---|---|
| public boolean flip whether to flip the texture atlas vertically | |
| TextureAtlasParameter | back to summary |
|---|---|
| public TextureAtlasParameter() | |
| TextureAtlasParameter | back to summary |
|---|---|
| public TextureAtlasParameter(boolean flip) | |