Package gaiasky.util.gdx.loader
Class GLBWrapperLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,GLBWrapperLoader.GLBLoaderParameters>
gaiasky.util.gdx.loader.GLBWrapperLoader
public class GLBWrapperLoader
extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,GLBWrapperLoader.GLBLoaderParameters>
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionGLBWrapperLoader
(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionnet.mgsx.gltf.loaders.shared.SceneAssetLoaderParameters
com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor>
getDependencies
(String fileName, com.badlogic.gdx.files.FileHandle file, GLBWrapperLoader.GLBLoaderParameters parameter) void
loadAsync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, GLBWrapperLoader.GLBLoaderParameters parameter) loadSync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, GLBWrapperLoader.GLBLoaderParameters 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
-
GLBWrapperLoader
public GLBWrapperLoader(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, GLBWrapperLoader.GLBLoaderParameters parameter) - Specified by:
loadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,
GLBWrapperLoader.GLBLoaderParameters>
-
loadSync
public IntModel loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, GLBWrapperLoader.GLBLoaderParameters parameter) - Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,
GLBWrapperLoader.GLBLoaderParameters>
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(String fileName, com.badlogic.gdx.files.FileHandle file, GLBWrapperLoader.GLBLoaderParameters parameter) - Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<IntModel,
GLBWrapperLoader.GLBLoaderParameters>
-
convertParameters
public net.mgsx.gltf.loaders.shared.SceneAssetLoaderParameters convertParameters(GLBWrapperLoader.GLBLoaderParameters parameter)
-