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