com.badlogic.gdx.graphics.glutils.ETC1TextureDataEmu Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backend-teavm Show documentation
Show all versions of backend-teavm Show documentation
Tool to generate libgdx to javascript using teaVM
package com.badlogic.gdx.graphics.glutils;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.utils.GdxRuntimeException;
import com.github.xpenatan.gdx.backends.teavm.gen.Emulate;
import com.badlogic.gdx.graphics.TextureDataEmu;
import com.badlogic.gdx.graphics.Pixmap;
@Emulate(ETC1TextureData.class)
public class ETC1TextureDataEmu implements TextureDataEmu {
public ETC1TextureDataEmu(FileHandle file) {
throw new GdxRuntimeException("ETC1TextureData not supported in web backend");
}
public ETC1TextureDataEmu(FileHandle file, boolean useMipMaps) {
throw new GdxRuntimeException("ETC1TextureData not supported in web backend");
}
@Override
public TextureDataTypeEmu getType() {
return null;
}
@Override
public boolean isPrepared() {
return false;
}
@Override
public void prepare() {
}
@Override
public Pixmap consumePixmap() {
return null;
}
@Override
public boolean disposePixmap() {
return false;
}
@Override
public void consumeCustomData(int target) {
}
@Override
public int getWidth() {
return 0;
}
@Override
public int getHeight() {
return 0;
}
@Override
public Pixmap.Format getFormat() {
return null;
}
@Override
public boolean useMipMaps() {
return false;
}
@Override
public boolean isManaged() {
return false;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy