示例#1
0
 public Texture(GLGame glGame, String fileName, boolean mipmapped) {
   this.glGraphics = glGame.getGLGraphics();
   this.fileIO = glGame.getFileIO();
   this.fileName = fileName;
   this.mipmapped = mipmapped;
   load();
 }
示例#2
0
 public void reload() {
   load();
   bind();
   setFilters(minFilter, magFilter);
   glGraphics.getGL().glBindTexture(GL10.GL_TEXTURE_2D, 0);
 }