Package gaiasky.util.gdx.shader.loader
Class DefaultShaderProviderLoader<T extends DefaultShaderProviderLoader.DefaultShaderProviderParameter>
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider,T>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider,T>
gaiasky.util.gdx.shader.loader.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
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionDefaultShaderProviderLoader
(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, DefaultShaderProviderLoader.DefaultShaderProviderParameter parameter) void
loadAsync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, T parameter) com.badlogic.gdx.graphics.g3d.utils.DefaultShaderProvider
loadSync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, DefaultShaderProviderLoader.DefaultShaderProviderParameter 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
-
DefaultShaderProviderLoader
public DefaultShaderProviderLoader(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<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, 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(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>
-