CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
Public Member Functions | List of all members
com.cartotype.MapRenderer Class Reference
Inheritance diagram for com.cartotype.MapRenderer:

Public Member Functions

 MapRenderer (Framework aFramework)
 
void onSurfaceCreated (GL10 gl, EGLConfig config)
 
void onSurfaceChanged (GL10 gl, int aWidth, int aHeight)
 
void onDrawFrame (GL10 gl)
 

Detailed Description

A map renderer that uses OpenGL ES 2.0.

Constructor & Destructor Documentation

◆ MapRenderer()

com.cartotype.MapRenderer.MapRenderer ( Framework  aFramework)

Creates a MapRenderer to draw a given Framework.

Member Function Documentation

◆ onDrawFrame()

void com.cartotype.MapRenderer.onDrawFrame ( GL10  gl)

This function is called to draw a frame.

◆ onSurfaceChanged()

void com.cartotype.MapRenderer.onSurfaceChanged ( GL10  gl,
int  aWidth,
int  aHeight 
)

This function is called when the EGL surface's dimensions are changed.

◆ onSurfaceCreated()

void com.cartotype.MapRenderer.onSurfaceCreated ( GL10  gl,
EGLConfig  config 
)

This function is called when the EGL surface is created.


The documentation for this class was generated from the following file: