Package com.badlogic.gdx.assets.AssetLoaderParameters

Examples of com.badlogic.gdx.assets.AssetLoaderParameters.LoadedCallback


          params.magFilter = texture.getMagFilter();
          params.wrapU = texture.getUWrap();
          params.wrapV = texture.getVWrap();
          params.genMipMaps = texture.data.useMipMaps(); // not sure about this?
          params.texture = texture; // special parameter which will ensure that the references stay the same.
          params.loadedCallback = new LoadedCallback() {
            @Override
            public void finishedLoading (AssetManager assetManager, String fileName, Class type) {
              assetManager.setReferenceCount(fileName, refCount);
            }
          };
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.assets.AssetLoaderParameters.LoadedCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.