openrndr / org.openrndr.draw / DrawThread

DrawThread

interface DrawThread

Properties

dispatcher

abstract val dispatcher: CoroutineDispatcher

drawer

abstract val drawer: Drawer

Extension Functions

launch

fun DrawThread.launch(context: CoroutineContext = this.dispatcher, start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> Unit): Job

launches a coroutine on the DrawThread

Inheritors

DrawThreadGL3

class DrawThreadGL3 : DrawThread