openrndr / org.openrndr / Extension

Extension

interface Extension (source)

Defines a Program extension. This is the interface for developers of OPENRNDR extensions.

Properties

enabled

abstract var enabled: Boolean

Functions

afterDraw

open fun afterDraw(drawer: Drawer, program: Program): Unit

beforeDraw

open fun beforeDraw(drawer: Drawer, program: Program): Unit

setup

open fun setup(program: Program): Unit

shutdown

Shutdown is called when the host application is quit

open fun shutdown(program: Program): Unit

Inheritors

Screenshots

an extension that takes screenshots when key (default is spacebar) is pressed

open class Screenshots : Extension