CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
|
Public Member Functions | |
MapRenderer (Framework aFramework) | |
void | onSurfaceCreated (GL10 gl, EGLConfig config) |
void | onSurfaceChanged (GL10 gl, int aWidth, int aHeight) |
void | onDrawFrame (GL10 gl) |
A map renderer that uses OpenGL ES 2.0.
com.cartotype.MapRenderer.MapRenderer | ( | Framework | aFramework | ) |
Creates a MapRenderer to draw a given Framework.
void com.cartotype.MapRenderer.onDrawFrame | ( | GL10 | gl | ) |
This function is called to draw a frame.
void com.cartotype.MapRenderer.onSurfaceChanged | ( | GL10 | gl, |
int | aWidth, | ||
int | aHeight | ||
) |
This function is called when the EGL surface's dimensions are changed.
void com.cartotype.MapRenderer.onSurfaceCreated | ( | GL10 | gl, |
EGLConfig | config | ||
) |
This function is called when the EGL surface is created.