Class OwnTextureLoader

java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
gaiasky.util.gdx.loader.OwnTextureLoader

public class OwnTextureLoader extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
  • Nested Class Summary

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

    Constructors
    Constructor
    Description
    OwnTextureLoader(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, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter)
     
    void
    loadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter)
     
    com.badlogic.gdx.graphics.Texture
    loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter)
     
    void
    unloadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter)
     

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

    • OwnTextureLoader

      public OwnTextureLoader(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, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter)
      Specified by:
      loadAsync in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
    • unloadAsync

      public void unloadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter)
      Overrides:
      unloadAsync in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
    • loadSync

      public com.badlogic.gdx.graphics.Texture loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter)
      Specified by:
      loadSync in class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>
    • getDependencies

      public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(String fileName, com.badlogic.gdx.files.FileHandle file, com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter parameter)
      Specified by:
      getDependencies in class com.badlogic.gdx.assets.loaders.AssetLoader<com.badlogic.gdx.graphics.Texture,com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter>