MapRenderer

The MapRenderer encapsulates the GL thread.

Performs actions on the GL thread to manage the GL resources and render on the one end and acts as a scheduler to request work to be performed on the GL thread on the other.

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, localIdeographFontFamily: String)

Functions

Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onPause()
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
abstract fun queueEvent(runnable: Runnable)
Link copied to clipboard
abstract fun requestRender()
Link copied to clipboard
open fun setMaximumFps(maximumFps: Int)
The max frame rate at which this render is rendered, but it can't excess the ability of device hardware.
Link copied to clipboard
open fun setSwapBehaviorFlush(flush: Boolean)
Link copied to clipboard
open fun waitForEmpty()
abstract fun waitForEmpty(timeoutMillis: Long): Long