public static class PixmapPacker.Page extends Object
Constructor and Description |
---|
PixmapPacker.Page() |
Modifier and Type | Method and Description |
---|---|
Pixmap |
getPixmap() |
OrderedMap<String,Rectangle> |
getRects() |
Texture |
getTexture()
Returns the texture for this page, or null if the texture has not been created.
|
boolean |
updateTexture(Texture.TextureFilter minFilter,
Texture.TextureFilter magFilter,
boolean useMipMaps)
Creates the texture if it has not been created, else reuploads the entire page pixmap to the texture if the pixmap has
changed since this method was last called.
|
public Pixmap getPixmap()
public OrderedMap<String,Rectangle> getRects()
public Texture getTexture()
#updateTexture(TextureFilter, TextureFilter, boolean)
public boolean updateTexture(Texture.TextureFilter minFilter, Texture.TextureFilter magFilter, boolean useMipMaps)
Copyright © 2015. All rights reserved.