Package com.nevergarden.myna.gfx
Class Renderer
- java.lang.Object
-
- com.nevergarden.myna.gfx.Renderer
-
- All Implemented Interfaces:
android.opengl.GLSurfaceView.Renderer
public class Renderer extends java.lang.Object implements android.opengl.GLSurfaceView.Renderer
Default Myna Renderer.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCounter()
int
getHeight()
int
getWidth()
void
onDrawFrame(javax.microedition.khronos.opengles.GL10 gl10)
void
onSurfaceChanged(javax.microedition.khronos.opengles.GL10 gl10, int width, int height)
void
onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl10, javax.microedition.khronos.egl.EGLConfig eglConfig)
-
-
-
Constructor Detail
-
Renderer
public Renderer(Myna myna)
-
-
Method Detail
-
onSurfaceCreated
public void onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl10, javax.microedition.khronos.egl.EGLConfig eglConfig)
- Specified by:
onSurfaceCreated
in interfaceandroid.opengl.GLSurfaceView.Renderer
-
onSurfaceChanged
public void onSurfaceChanged(javax.microedition.khronos.opengles.GL10 gl10, int width, int height)
- Specified by:
onSurfaceChanged
in interfaceandroid.opengl.GLSurfaceView.Renderer
-
onDrawFrame
public void onDrawFrame(javax.microedition.khronos.opengles.GL10 gl10)
- Specified by:
onDrawFrame
in interfaceandroid.opengl.GLSurfaceView.Renderer
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getCounter
public int getCounter()
-
-