All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.badlogic.gdx.graphics.glutils.ETC1TextureDataEmu Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
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