Package com.mojang.minecraft.render.texture

Examples of com.mojang.minecraft.render.texture.TextureFX


      GL11.glBindTexture(3553, this.textureManager.load("/terrain.png"));
      TextureManager var19 = this.textureManager;

      for(var16 = 0; var16 < var19.animations.size(); ++var16) {
         TextureFX var3;
         (var3 = (TextureFX)var19.animations.get(var16)).anaglyph = var19.settings.anaglyph;
         var3.animate();
         var19.textureBuffer.clear();
         var19.textureBuffer.put(var3.textureData);
         var19.textureBuffer.position(0).limit(var3.textureData.length);
         GL11.glTexSubImage2D(3553, 0, var3.textureId % 16 << 4, var3.textureId / 16 << 4, 16, 16, 6408, 5121, var19.textureBuffer);
      }
View Full Code Here

TOP

Related Classes of com.mojang.minecraft.render.texture.TextureFX

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.