Package mindustry.io
Class SavePreviewLoader
java.lang.Object
arc.assets.loaders.AssetLoader<T,P>
arc.assets.loaders.AsynchronousAssetLoader<Texture,TextureLoader.TextureParameter>
arc.assets.loaders.TextureLoader
mindustry.io.SavePreviewLoader
-
Nested Class Summary
Nested classes/interfaces inherited from class arc.assets.loaders.TextureLoader
TextureLoader.TextureLoaderInfo, TextureLoader.TextureParameter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
loadAsync
(AssetManager manager, String fileName, Fi file, TextureLoader.TextureParameter parameter) Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.Methods inherited from class arc.assets.loaders.TextureLoader
getDependencies, loadSync
Methods inherited from class arc.assets.loaders.AssetLoader
resolve
-
Constructor Details
-
SavePreviewLoader
public SavePreviewLoader()
-
-
Method Details
-
loadAsync
public void loadAsync(AssetManager manager, String fileName, Fi file, TextureLoader.TextureParameter parameter) Description copied from class:AsynchronousAssetLoader
Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.- Overrides:
loadAsync
in classTextureLoader
fileName
- the name of the asset to loadfile
- the resolved file to loadparameter
- the parameters to use for loading the asset
-