public class BitmapBucket extends TextureBucket
| Modifier and Type | Class and Description |
|---|---|
static class |
BitmapBucket.Renderer |
Inlist.List<T extends Inlist<?>>fixed, INDICES_PER_SPRITE, pool, TEXTURE_HEIGHT, TEXTURE_WIDTH, texturesBITMAP, CIRCLE, EXTRUSION, HAIRLINE, indiceItems, indiceOffset, LINE, MESH, numIndices, numVertices, POLYGON, SYMBOL, TEXLINE, type, vertexItems, vertexOffset| Constructor and Description |
|---|
BitmapBucket(boolean reuseBitmap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear()
Clear all resources.
|
protected void |
compile(java.nio.ShortBuffer vboData,
java.nio.ShortBuffer iboData) |
void |
setBitmap(Bitmap bitmap,
int w,
int h)
w/h sets also target dimension to render the bitmap.
|
void |
setBitmap(Bitmap bitmap,
int w,
int h,
TextureItem.TexturePool pool) |
getTextures, rendercompileIndicesItems, compileVertexItems, getIndiceOffset, getVertexOffset, prepare, setLevel, setVertexOffsetappendItem, appendList, get, last, next, prependRelative, push, remove, sizepublic BitmapBucket(boolean reuseBitmap)
reuseBitmap - false if the Bitmap should be disposed
after loading to texture.public void setBitmap(Bitmap bitmap, int w, int h)
public void setBitmap(Bitmap bitmap, int w, int h, TextureItem.TexturePool pool)
protected void compile(java.nio.ShortBuffer vboData,
java.nio.ShortBuffer iboData)
compile in class TextureBucketprotected void clear()
RenderBucketclear in class TextureBucket