public class TextureBucket extends RenderBucket
| Modifier and Type | Class and Description |
|---|---|
static class |
TextureBucket.Renderer |
Inlist.List<T extends Inlist<?>>| Modifier and Type | Field and Description |
|---|---|
boolean |
fixed
scale mode
|
static int |
INDICES_PER_SPRITE |
static TextureItem.TexturePool |
pool
pool shared by TextLayers
|
static int |
TEXTURE_HEIGHT |
static int |
TEXTURE_WIDTH |
TextureItem |
textures
holds textures and offset in vbo
|
BITMAP, CIRCLE, EXTRUSION, HAIRLINE, indiceItems, indiceOffset, LINE, MESH, numIndices, numVertices, POLYGON, SYMBOL, TEXLINE, type, vertexItems, vertexOffset| Constructor and Description |
|---|
TextureBucket(byte type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear()
Clear all resources.
|
protected void |
compile(java.nio.ShortBuffer vboData,
java.nio.ShortBuffer iboData) |
TextureItem |
getTextures() |
void |
render(int offset,
int numIndices) |
compileIndicesItems, compileVertexItems, getIndiceOffset, getVertexOffset, prepare, setLevel, setVertexOffsetappendItem, appendList, get, last, next, prependRelative, push, remove, sizepublic static final int INDICES_PER_SPRITE
public static final int TEXTURE_HEIGHT
public static final int TEXTURE_WIDTH
public static final TextureItem.TexturePool pool
public TextureItem textures
public boolean fixed
protected void compile(java.nio.ShortBuffer vboData,
java.nio.ShortBuffer iboData)
compile in class RenderBucketprotected void clear()
RenderBucketclear in class RenderBucketpublic TextureItem getTextures()
public void render(int offset,
int numIndices)