public class BitmapRenderer extends BucketRenderer
buckets, log, mFlipOnDateLine, mInitialized, mMapPosition| Constructor and Description |
|---|
BitmapRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compile()
Compile all buckets into one BufferObject.
|
void |
render(GLViewport v)
Render all 'buckets'
|
void |
setBitmap(Bitmap bitmap,
int width,
int height) |
void |
setOffset(float xOffset,
float yOffset) |
void |
setPosition(GLViewport.Position position) |
void |
update(GLViewport v)
Default implementation:
Copy initial Viewport position and compile buckets.
|
void |
updateBitmap() |
setMatrix, setMatrix, setMatrix, setMatrixisReady, setReady, setuppublic void setBitmap(Bitmap bitmap, int width, int height)
bitmap - with dimension being power of twowidth - width usedheight - height usedpublic void setPosition(GLViewport.Position position)
public void setOffset(float xOffset,
float yOffset)
public void updateBitmap()
public void update(GLViewport v)
BucketRendererupdate in class BucketRendererprotected void compile()
BucketRenderercompile in class BucketRendererpublic void render(GLViewport v)
BucketRendererrender in class BucketRenderer