Package gaiasky.util.gdx.loader
Class OwnTextureLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
gaiasky.util.gdx.loader.OwnTextureLoader
public class OwnTextureLoader
extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
ConstructorDescriptionOwnTextureLoader
(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, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter) void
loadAsync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter) com.badlogic.gdx.graphics.Texture
loadSync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter) void
unloadAsync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter) Methods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
-
Constructor Details
-
OwnTextureLoader
public OwnTextureLoader(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, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter) - Specified by:
loadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,
com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
-
unloadAsync
public void unloadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter) - Overrides:
unloadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,
com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
-
loadSync
public com.badlogic.gdx.graphics.Texture loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter) - Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,
com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter) - Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<com.badlogic.gdx.graphics.Texture,
com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
-