Package org.oscim.renderer.atlas
Class TextureAtlas
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.oscim.utils.pool.Inlist
Inlist.List<T extends Inlist<?>> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTextureRegion(Object key, TextureAtlas.Rect r) voidclear()static TextureAtlascreate(int width, int height, int depth) getRegion(int width, int height) getTextureRegion(Object key) Methods inherited from class org.oscim.utils.pool.Inlist
appendItem, appendList, get, last, next, prependRelative, push, remove, size
-
Field Details
-
mSlots
Allocated slots -
texture
-
-
Constructor Details
-
TextureAtlas
public TextureAtlas(int width, int height) -
TextureAtlas
-
-
Method Details
-
addTextureRegion
-
getTextureRegion
-
getRegion
-
getRegions
-
clear
public void clear() -
create
-