Package com.badlogic.gdx.graphics.glutils

Examples of com.badlogic.gdx.graphics.glutils.ETC1TextureData


    this(file, null, useMipMaps);
  }

  public Texture (FileHandle file, Format format, boolean useMipMaps) {
    if (file.name().endsWith(".etc1")) {
      create(new ETC1TextureData(file, useMipMaps));
    } else {
      create(new FileTextureData(file, null, format, useMipMaps));
    }
  }
View Full Code Here


          pixmap = PixmapIO.readCIM(file);
        else
          pixmap = new Pixmap(file);
        info.data = new FileTextureData(file, pixmap, format, genMipMaps);
      } else {
        info.data = new ETC1TextureData(file, genMipMaps);
      }
    } else {
      info.data = parameter.textureData;
      if (!info.data.isPrepared()) info.data.prepare();
      info.texture = parameter.texture;
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.glutils.ETC1TextureData

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.