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
Nested Classes Modifier and Type Class Description static class
PFMTextureLoader.PFMTextureParameter
static class
PFMTextureLoader.TextureLoaderInfo
-
Constructor Summary
Constructors Constructor Description PFMTextureLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor>
getDependencies(java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMTextureLoader.PFMTextureParameter parameter)
void
loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMTextureLoader.PFMTextureParameter parameter)
com.badlogic.gdx.graphics.Texture
loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, PFMTextureLoader.PFMTextureParameter parameter)
-
-
-
Method Detail
-
loadAsync
public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.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, java.lang.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(java.lang.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>
-
-