Class IntModelLoader<P extends IntModelLoader.IntModelParameters>

java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,P>
gaiasky.util.gdx.loader.IntModelLoader<P>
Direct Known Subclasses:
G3dModelLoader, OwnObjLoader

public abstract class IntModelLoader<P extends IntModelLoader.IntModelParameters> extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,P>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected final com.badlogic.gdx.utils.Array<com.badlogic.gdx.utils.ObjectMap.Entry<String,IntModelData>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    IntModelLoader(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(String fileName, com.badlogic.gdx.files.FileHandle file, P parameters)
     
    void
    loadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, P parameters)
     
    loadModel(com.badlogic.gdx.files.FileHandle fileHandle)
    Directly load the model on the calling thread.
    loadModel(com.badlogic.gdx.files.FileHandle fileHandle, com.badlogic.gdx.graphics.g3d.utils.TextureProvider textureProvider)
    Directly load the model on the calling thread.
    loadModel(com.badlogic.gdx.files.FileHandle fileHandle, com.badlogic.gdx.graphics.g3d.utils.TextureProvider textureProvider, P parameters)
    Directly load the model on the calling thread.
    loadModel(com.badlogic.gdx.files.FileHandle fileHandle, P parameters)
    Directly load the model on the calling thread.
    loadModelData(com.badlogic.gdx.files.FileHandle fileHandle)
    Directly load the raw model data on the calling thread.
    abstract IntModelData
    loadModelData(com.badlogic.gdx.files.FileHandle fileHandle, P parameters)
    Directly load the raw model data on the calling thread.
    loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, P parameters)
     

    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
  • Field Details

  • Constructor Details

    • IntModelLoader

      public IntModelLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
  • Method Details

    • loadModelData

      public abstract IntModelData loadModelData(com.badlogic.gdx.files.FileHandle fileHandle, P parameters)
      Directly load the raw model data on the calling thread.
    • loadModelData

      public IntModelData loadModelData(com.badlogic.gdx.files.FileHandle fileHandle)
      Directly load the raw model data on the calling thread.
    • loadModel

      public IntModel loadModel(com.badlogic.gdx.files.FileHandle fileHandle, com.badlogic.gdx.graphics.g3d.utils.TextureProvider textureProvider, P parameters)
      Directly load the model on the calling thread. The model with not be managed by an AssetManager.
    • loadModel

      public IntModel loadModel(com.badlogic.gdx.files.FileHandle fileHandle, P parameters)
      Directly load the model on the calling thread. The model with not be managed by an AssetManager.
    • loadModel

      public IntModel loadModel(com.badlogic.gdx.files.FileHandle fileHandle, com.badlogic.gdx.graphics.g3d.utils.TextureProvider textureProvider)
      Directly load the model on the calling thread. The model with not be managed by an AssetManager.
    • loadModel

      public IntModel loadModel(com.badlogic.gdx.files.FileHandle fileHandle)
      Directly load the model on the calling thread. The model with not be managed by an AssetManager.
    • getDependencies

      public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(String fileName, com.badlogic.gdx.files.FileHandle file, P parameters)
      Specified by:
      getDependencies in class com.badlogic.gdx.assets.loaders.AssetLoader<IntModel,P extends IntModelLoader.IntModelParameters>
    • loadAsync

      public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, P parameters)
      Specified by:
      loadAsync in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,P extends IntModelLoader.IntModelParameters>
    • loadSync

      public IntModel loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, P parameters)
      Specified by:
      loadSync in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,P extends IntModelLoader.IntModelParameters>