public class FMGLRenderer extends FMMapRenderer implements android.opengl.GLSurfaceView.Renderer
构造器和说明 |
---|
FMGLRenderer(android.content.Context context,
FMMap map)
创建渲染器。
|
限定符和类型 | 方法和说明 |
---|---|
void |
onDrawFrame(javax.microedition.khronos.opengles.GL10 gl) |
void |
onSurfaceChanged(javax.microedition.khronos.opengles.GL10 gl,
int width,
int height) |
void |
onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl,
javax.microedition.khronos.egl.EGLConfig config) |
void |
onTextureChanged(int w,
int h) |
void |
onTextureCreated() |
void |
onTextureDraw(javax.microedition.khronos.opengles.GL10 gl) |
getFrameTime
public FMGLRenderer(android.content.Context context, FMMap map)
context
- 上下文环境map
- 地图操作对象public void onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl, javax.microedition.khronos.egl.EGLConfig config)
onSurfaceCreated
在接口中 android.opengl.GLSurfaceView.Renderer
public void onSurfaceChanged(javax.microedition.khronos.opengles.GL10 gl, int width, int height)
onSurfaceChanged
在接口中 android.opengl.GLSurfaceView.Renderer
public void onDrawFrame(javax.microedition.khronos.opengles.GL10 gl)
onDrawFrame
在接口中 android.opengl.GLSurfaceView.Renderer
public void onTextureCreated()
public void onTextureChanged(int w, int h)
public void onTextureDraw(javax.microedition.khronos.opengles.GL10 gl)