Package gaiasky.util.gdx.shader.loader
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.util.gdx.shader.loader.GroundShaderProviderLoader<T>
public class GroundShaderProviderLoader<T extends GroundShaderProviderLoader.GroundShaderProviderParameter>
extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<GroundShaderProvider,T>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionGroundShaderProviderLoader
(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, GroundShaderProviderLoader.GroundShaderProviderParameter parameter) void
loadAsync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, T parameter) loadSync
(com.badlogic.gdx.assets.AssetManager manager, 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
-
Constructor Details
-
GroundShaderProviderLoader
public GroundShaderProviderLoader(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, 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, 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(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>
-