Package com.badlogic.gdx.graphics.glutils.ETC1

Examples of com.badlogic.gdx.graphics.glutils.ETC1.ETC1Data


  @Override
  public void prepare () {
    if (isPrepared) throw new GdxRuntimeException("Already prepared");
    if (file == null && data == null) throw new GdxRuntimeException("Can only load once from ETC1Data");
    if(file != null) {
      data = new ETC1Data(file);
    }
    width = data.width;
    height = data.height;
    isPrepared = true;
  }
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.glutils.ETC1.ETC1Data

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.