Package gaiasky.util.gdx.loader
Class OwnObjLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<IntModel,OwnObjLoader.ObjLoaderParameters>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,OwnObjLoader.ObjLoaderParameters>
gaiasky.util.gdx.loader.IntModelLoader<OwnObjLoader.ObjLoaderParameters>
gaiasky.util.gdx.loader.OwnObjLoader
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.util.gdx.loader.IntModelLoader
IntModelLoader.IntModelParameters
-
Field Summary
Fields inherited from class gaiasky.util.gdx.loader.IntModelLoader
defaultParameters, items
-
Constructor Summary
ConstructorDescriptionOwnObjLoader
(InputStreamProvider isp, com.badlogic.gdx.assets.loaders.FileHandleResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionloadModel
(com.badlogic.gdx.files.FileHandle fileHandle, boolean flipV) Directly load the model on the calling thread.protected IntModelData
loadModelData
(com.badlogic.gdx.files.FileHandle file, boolean flipV) loadModelData
(com.badlogic.gdx.files.FileHandle file, OwnObjLoader.ObjLoaderParameters parameters) Directly load the raw model data on the calling thread.Methods inherited from class gaiasky.util.gdx.loader.IntModelLoader
getDependencies, loadAsync, loadModel, loadModel, loadModel, loadModel, loadModelData, loadSync
Methods inherited from class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader
unloadAsync
Methods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
-
Field Details
-
logWarning
public static boolean logWarning
-
-
Constructor Details
-
OwnObjLoader
public OwnObjLoader() -
OwnObjLoader
public OwnObjLoader(InputStreamProvider isp, com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
-
Method Details
-
loadModel
Directly load the model on the calling thread. The model with not be managed by anAssetManager
. -
loadModelData
public IntModelData loadModelData(com.badlogic.gdx.files.FileHandle file, OwnObjLoader.ObjLoaderParameters parameters) Description copied from class:IntModelLoader
Directly load the raw model data on the calling thread.- Specified by:
loadModelData
in classIntModelLoader<OwnObjLoader.ObjLoaderParameters>
-
loadModelData
-