Package gaiasky.util.gdx
Class TextureArrayLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.TextureArray,TextureArrayLoader.TextureArrayParameter>
gaiasky.util.gdx.TextureArrayLoader
public class TextureArrayLoader
extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.TextureArray,TextureArrayLoader.TextureArrayParameter>
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTextureArrayLoader
(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor>
getDependencies
(String fileName, com.badlogic.gdx.files.FileHandle file, TextureArrayLoader.TextureArrayParameter parameter) void
loadAsync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, TextureArrayLoader.TextureArrayParameter parameter) com.badlogic.gdx.graphics.TextureArray
loadSync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, TextureArrayLoader.TextureArrayParameter parameter) Methods inherited from class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader
unloadAsync
Methods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
-
Constructor Details
-
TextureArrayLoader
public TextureArrayLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
-
Method Details
-
loadAsync
public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, TextureArrayLoader.TextureArrayParameter parameter) - Specified by:
loadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.TextureArray,
TextureArrayLoader.TextureArrayParameter>
-
loadSync
public com.badlogic.gdx.graphics.TextureArray loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, TextureArrayLoader.TextureArrayParameter parameter) - Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.TextureArray,
TextureArrayLoader.TextureArrayParameter>
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(String fileName, com.badlogic.gdx.files.FileHandle file, TextureArrayLoader.TextureArrayParameter parameter) - Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<com.badlogic.gdx.graphics.TextureArray,
TextureArrayLoader.TextureArrayParameter>
-