ApplicationPreload

ApplicationPreload can be used to configure Application and Program without changing user code.

On application initialization a preload class is looked for on the classpath, if found this class is instantiated and used for configuration.

The org.openrndr.preloadclass property can be used to set the name for the preload class, the default value is org.openrndr.Preload.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onConfiguration(configuration: Configuration)

Called before passing the configuration to Application. This can be used to override resolution and other configuration settings.

Link copied to clipboard
open fun onProgramSetup(program: Program)

Called before setting up the Program This can be used to install extensions.