114115116117118119120121122
} public static CTextureCube loadCubemap(String name){ if(name == null || name.isEmpty()) return null; if(textures.containsKey(name) == false){ textures.put(name, new CTextureCube(name)); } return (CTextureCube)textures.get(name); }