onDestroy

abstract fun onDestroy(gl: GlimpseAdapter)

Called when the OpenGL context is released.