Added in API level XE16
public interface
GlRenderer
Interface for rendering a LiveCard
using the OpenGL ES 2.0 API.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void | |||||||||||
abstract void |
onSurfaceChanged(int width, int height)
|
||||||||||
abstract void |
onSurfaceCreated(EGLConfig config)
|
Public Methods
Added in API level XE16
public abstract void onDrawFrame ()
Called to draw the current frame.
Added in API level XE16
public abstract void onSurfaceChanged (int width, int height)
Called when the surface's dimensions change.
Parameters
width | the surface's new width |
---|---|
height | the surface's new height |
Added in API level XE16
public abstract void onSurfaceCreated (EGLConfig config)
Called when the rendering surface is created or recreated.
Parameters
config | the configuration of the created surface |
---|