Package gaiasky.assets
Class GroundShaderProviderLoader<T extends GroundShaderProviderLoader.GroundShaderProviderParameter>
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<GroundShaderProvider,T>
gaiasky.assets.GroundShaderProviderLoader<T>
public class GroundShaderProviderLoader<T extends GroundShaderProviderLoader.GroundShaderProviderParameter> extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<GroundShaderProvider,T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroundShaderProviderLoader.GroundShaderProviderParameter
-
Constructor Summary
Constructors Constructor Description GroundShaderProviderLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
Method Summary
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, GroundShaderProviderLoader.GroundShaderProviderParameter parameter)
void
loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, T parameter)
GroundShaderProvider
loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, GroundShaderProviderLoader.GroundShaderProviderParameter parameter)
Methods inherited from class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader
unloadAsync
Methods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GroundShaderProviderLoader
public GroundShaderProviderLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
-
Method Details
-
loadAsync
public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, T parameter)- Specified by:
loadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<GroundShaderProvider,T extends GroundShaderProviderLoader.GroundShaderProviderParameter>
-
loadSync
public GroundShaderProvider loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, GroundShaderProviderLoader.GroundShaderProviderParameter parameter)- Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<GroundShaderProvider,T extends GroundShaderProviderLoader.GroundShaderProviderParameter>
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, GroundShaderProviderLoader.GroundShaderProviderParameter parameter)- Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<GroundShaderProvider,T extends GroundShaderProviderLoader.GroundShaderProviderParameter>
-