Lines Matching defs:pixmap
19 import com.badlogic.gdx.graphics.Pixmap;
20 import com.badlogic.gdx.graphics.Pixmap.Format;
25 final Pixmap pixmap;
31 public PixmapTextureData (Pixmap pixmap, Format format, boolean useMipMaps, boolean disposePixmap) {
32 this(pixmap, format, useMipMaps, disposePixmap, false);
35 public PixmapTextureData (Pixmap pixmap, Format format, boolean useMipMaps, boolean disposePixmap, boolean managed) {
36 this.pixmap = pixmap;
37 this.format = format == null ? pixmap.getFormat() : format;
49 public Pixmap consumePixmap () {
50 return pixmap;
55 return pixmap.getWidth();
60 return pixmap.getHeight();
80 return TextureDataType.Pixmap;