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