GlimpseRenderer

inner class GlimpseRenderer(callback: GlimpseCallback) : GLSurfaceView.Renderer, GlimpseCallback

An implementation of renderer using a given callback for rendering.

Constructors

Link copied to clipboard
fun GlimpseRenderer(callback: GlimpseCallback)

Functions

Link copied to clipboard
open override fun onCreate(gl: GlimpseAdapter)
Link copied to clipboard
open override fun onDestroy(gl: GlimpseAdapter)
Link copied to clipboard
open override fun onDrawFrame(gl: GL10?)
Link copied to clipboard
open override fun onRender(gl: GlimpseAdapter)
Link copied to clipboard
open override fun onResize(    gl: GlimpseAdapter,     x: Int,     y: Int,     width: Int,     height: Int)
Link copied to clipboard
open override fun onSurfaceChanged(    gl: GL10?,     width: Int,     height: Int)
Link copied to clipboard
open override fun onSurfaceCreated(gl: GL10?, config: EGLConfig?)