Example usage for com.badlogic.gdx.graphics.glutils ETC1TextureData ETC1TextureData

List of usage examples for com.badlogic.gdx.graphics.glutils ETC1TextureData ETC1TextureData

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics.glutils ETC1TextureData ETC1TextureData.

Prototype

public ETC1TextureData(ETC1Data encodedImage, boolean useMipMaps) 

Source Link

Usage

From source file:de.gebatzens.meteva.SpaceBackground.java

License:Open Source License

public void initBackground() {
    ETC1TextureData data1 = new ETC1TextureData(new ETC1.ETC1Data(Gdx.files.internal("stars1.pkm")), false);
    //   ETC1TextureData data2 = new ETC1TextureData(new ETC1.ETC1Data(Gdx.files.internal("stars2.pkm")), false);
    tex1 = new Texture(data1);
    //   tex2 = new Texture(data2);
}