openrndr / org.openrndr

Package org.openrndr

the core of OPENRNDR

Types

Application

abstract class Application

Application interface

ApplicationBuilder

class ApplicationBuilder

Configuration

class Configuration

DropEvent

class DropEvent

Extension

interface Extension

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

ExtensionStage

enum class ExtensionStage

Indicates the stage in which the extension is

Fullscreen

enum class Fullscreen

Fullscreen mode

KeyEvent

class KeyEvent

KeyEventType

enum class KeyEventType

Keyboard

class Keyboard

KeyboardModifier

enum class KeyboardModifier

Mouse

class Mouse

MouseButton

enum class MouseButton

MouseEvent

class MouseEvent

MouseEventType

enum class MouseEventType

PresentationMode

enum class PresentationMode

PresentationMode describes modes of frame presentation

Program

open class Program

The Program class, this is where most user implementations start

PumpDispatcher

class PumpDispatcher : MainCoroutineDispatcher, Delay

UnfocusBehaviour

enum class UnfocusBehaviour

WindowEvent

class WindowEvent

WindowEventType

enum class WindowEventType

WindowMultisample

sealed class WindowMultisample

Properties

KEY_ARROW_DOWN

const val KEY_ARROW_DOWN: Int

KEY_ARROW_LEFT

const val KEY_ARROW_LEFT: Int

KEY_ARROW_RIGHT

const val KEY_ARROW_RIGHT: Int

KEY_ARROW_UP

const val KEY_ARROW_UP: Int

KEY_BACKSPACE

const val KEY_BACKSPACE: Int

KEY_CAPSLOCK

const val KEY_CAPSLOCK: Int

KEY_DELETE

const val KEY_DELETE: Int

KEY_END

const val KEY_END: Int

KEY_ENTER

const val KEY_ENTER: Int

KEY_ESCAPE

const val KEY_ESCAPE: Int

KEY_F1

const val KEY_F1: Int

KEY_F10

const val KEY_F10: Int

KEY_F11

const val KEY_F11: Int

KEY_F12

const val KEY_F12: Int

KEY_F2

const val KEY_F2: Int

KEY_F3

const val KEY_F3: Int

KEY_F4

const val KEY_F4: Int

KEY_F5

const val KEY_F5: Int

KEY_F6

const val KEY_F6: Int

KEY_F7

const val KEY_F7: Int

KEY_F8

const val KEY_F8: Int

KEY_F9

const val KEY_F9: Int

KEY_HOME

const val KEY_HOME: Int

KEY_INSERT

const val KEY_INSERT: Int

KEY_LEFT_SHIFT

const val KEY_LEFT_SHIFT: Int

KEY_PAGE_DOWN

const val KEY_PAGE_DOWN: Int

KEY_PAGE_UP

const val KEY_PAGE_UP: Int

KEY_PRINT_SCREEN

const val KEY_PRINT_SCREEN: Int

KEY_RIGHT_SHIFT

const val KEY_RIGHT_SHIFT: Int

KEY_SPACEBAR

const val KEY_SPACEBAR: Int

KEY_TAB

const val KEY_TAB: Int

Functions

application

fun application(program: Program, configuration: Configuration = Configuration()): Unit

Runs program as an application using configuration.

fun application(build: ApplicationBuilder.() -> Unit): Unit

Runs programFunction as an application using configuration, this provides a more functional flavored way of writing applications.

configuration

fun configuration(builder: Configuration.() -> Unit): Configuration

Simple configuration builder

launch

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

resourceUrl

fun resourceUrl(name: String, class: Class<*> = Application::class.java): String

Resolves resource named name relative to class as a String based URL.