Package mindustry.graphics
Class MultiPacker
java.lang.Object
mindustry.graphics.MultiPacker
- All Implemented Interfaces:
Disposable
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(MultiPacker.PageType type, String name, PixmapRegion region) void
add
(MultiPacker.PageType type, String name, PixmapRegion region, int[] splits, int[] pads) void
add
(MultiPacker.PageType type, String name, Pixmap pix) void
dispose()
Releases all resources of this object.flush
(Texture.TextureFilter filter, TextureAtlas atlas) boolean
boolean
has
(MultiPacker.PageType type, String name) boolean
isOutlined
(String name) void
boolean
registerOutlined
(String named) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Constructor Details
-
MultiPacker
public MultiPacker()
-
-
Method Details
-
get
-
printStats
public void printStats() -
registerOutlined
- Returns:
- whether this image was not already outlined.
-
isOutlined
-
getPacker
-
has
-
has
-
add
-
add
public void add(MultiPacker.PageType type, String name, PixmapRegion region, int[] splits, int[] pads) -
add
-
flush
-
dispose
public void dispose()Description copied from interface:Disposable
Releases all resources of this object.- Specified by:
dispose
in interfaceDisposable
-