addEglCallback

open fun addEglCallback(@NonNull callback: GlSurfaceListener.EglCallback)

Adds callback for underlying OpenGL calls of swap buffers.

Parameters

callback

GlSurfaceListener.EglCallback callback to handle eglSwapBuffers event.

Throws