Package org.oscim.renderer.bucket
Class TextureBucket
java.lang.Object
org.oscim.utils.pool.Inlist<RenderBucket>
org.oscim.renderer.bucket.RenderBucket
org.oscim.renderer.bucket.TextureBucket
- Direct Known Subclasses:
BitmapBucket,SymbolBucket,TextBucket
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.oscim.utils.pool.Inlist
Inlist.List<T extends Inlist<?>> -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanscale modestatic final intstatic final TextureItem.TexturePoolpool shared by TextLayersstatic final intstatic final intholds textures and offset in vboFields inherited from class org.oscim.renderer.bucket.RenderBucket
BITMAP, CIRCLE, EXTRUSION, HAIRLINE, indiceItems, indiceOffset, LINE, MESH, numIndices, numVertices, POLYGON, SYMBOL, TEXLINE, type, vertexItems, vertexOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()Clear all resources.protected voidcompile(ShortBuffer vboData, ShortBuffer iboData) voidrender(int offset, int numIndices) Methods inherited from class org.oscim.renderer.bucket.RenderBucket
compileIndicesItems, compileVertexItems, getIndiceOffset, getVertexOffset, prepare, setLevel, setVertexOffsetMethods inherited from class org.oscim.utils.pool.Inlist
appendItem, appendList, get, last, next, prependRelative, push, remove, size
-
Field Details
-
INDICES_PER_SPRITE
public static final int INDICES_PER_SPRITE- See Also:
-
TEXTURE_HEIGHT
public static final int TEXTURE_HEIGHT- See Also:
-
TEXTURE_WIDTH
public static final int TEXTURE_WIDTH- See Also:
-
pool
pool shared by TextLayers -
textures
holds textures and offset in vbo -
fixed
public boolean fixedscale mode
-
-
Constructor Details
-
TextureBucket
public TextureBucket(byte type)
-
-
Method Details
-
compile
- Overrides:
compilein classRenderBucket
-
clear
protected void clear()Description copied from class:RenderBucketClear all resources.- Overrides:
clearin classRenderBucket
-
getTextures
-
render
public void render(int offset, int numIndices)
-