Package gaiasky.assets
Class DefaultShaderProviderLoader<T extends DefaultShaderProviderLoader.DefaultShaderProviderParameter>
- java.lang.Object
-
- com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
-
- com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider,T>
-
- gaiasky.assets.DefaultShaderProviderLoader<T>
-
public class DefaultShaderProviderLoader<T extends DefaultShaderProviderLoader.DefaultShaderProviderParameter> extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider,T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultShaderProviderLoader.DefaultShaderProviderParameter
-
Constructor Summary
Constructors Constructor Description DefaultShaderProviderLoader(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, DefaultShaderProviderLoader.DefaultShaderProviderParameter parameter)
void
loadAsync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, T parameter)
com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider
loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, DefaultShaderProviderLoader.DefaultShaderProviderParameter parameter)
-
-
-
Method Detail
-
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<com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider,T extends DefaultShaderProviderLoader.DefaultShaderProviderParameter>
-
loadSync
public com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider loadSync(com.badlogic.gdx.assets.AssetManager manager, java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, DefaultShaderProviderLoader.DefaultShaderProviderParameter parameter)
- Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider,T extends DefaultShaderProviderLoader.DefaultShaderProviderParameter>
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(java.lang.String fileName, com.badlogic.gdx.files.FileHandle file, DefaultShaderProviderLoader.DefaultShaderProviderParameter parameter)
- Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider,T extends DefaultShaderProviderLoader.DefaultShaderProviderParameter>
-
-