예제 #1
0
 public Future<Texture> cacheTexture(String filePath) {
   return cacheResource(
       filePath, texturePreparation, textures, () -> loader.loadFutureTexture(filePath, false));
 }
예제 #2
0
 public Future<Texture> cacheTexture(String filePath, boolean alpha) {
   return cacheResource(
       filePath, texturePreparation, textures, () -> loader.loadFutureTexture(filePath, alpha));
 }
예제 #3
0
 public Future<Mesh> cacheMesh(String filePath) {
   return cacheResource(filePath, meshPreparation, meshes, () -> loader.loadFutureMesh(filePath));
 }