Application

expect abstract class Application(source)

Application interface

actual abstract class Application(source)

Application interface

actual abstract class Application(source)

This class is responsible for selecting and initializing the appropriate graphics backend.

By default, the GLFW backend is used. This can be customized by setting the VM property org.openrndr.application to "GLFW" or "EGL". However, if org.openrndr.internal.nullgl.ApplicationNullGL is found on the classpath, NullGL will be used as the backend instead, regardless of other settings.

Constructors

Link copied to clipboard
constructor()
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun createChildWindow(configuration: WindowConfiguration, program: Program): ApplicationWindow
Link copied to clipboard
expect abstract fun exit()
actual abstract fun exit()
actual abstract fun exit()
Link copied to clipboard
expect abstract fun loop()
actual abstract fun loop()
actual abstract fun loop()
Link copied to clipboard
expect abstract fun requestDraw()
actual abstract fun requestDraw()
actual abstract fun requestDraw()
Link copied to clipboard
expect abstract fun requestFocus()
actual abstract fun requestFocus()
actual abstract fun requestFocus()
Link copied to clipboard
expect abstract suspend fun setup()
actual abstract suspend fun setup()
actual abstract suspend fun setup()

Properties

Link copied to clipboard
expect abstract var clipboardContents: String?
actual abstract var clipboardContents: String?
actual abstract var clipboardContents: String?
Link copied to clipboard
expect abstract var configuration: Configuration
actual abstract var configuration: Configuration
actual abstract var configuration: Configuration
Link copied to clipboard
expect abstract var cursorHideMode: MouseCursorHideMode
actual abstract var cursorHideMode: MouseCursorHideMode
actual abstract var cursorHideMode: MouseCursorHideMode
Link copied to clipboard
expect abstract var cursorPosition: Vector2
actual abstract var cursorPosition: Vector2
actual abstract var cursorPosition: Vector2
Link copied to clipboard
expect abstract var cursorType: CursorType
actual abstract var cursorType: CursorType
actual abstract var cursorType: CursorType
Link copied to clipboard
expect abstract var cursorVisible: Boolean
actual abstract var cursorVisible: Boolean
actual abstract var cursorVisible: Boolean
Link copied to clipboard
expect abstract val pointers: List<Pointer>
actual abstract val pointers: List<Pointer>
actual abstract val pointers: List<Pointer>
Link copied to clipboard
expect abstract var presentationMode: PresentationMode
actual abstract var presentationMode: PresentationMode
actual abstract var presentationMode: PresentationMode
Link copied to clipboard
expect abstract var program: Program
actual abstract var program: Program
actual abstract var program: Program
Link copied to clipboard
expect abstract val seconds: Double
actual abstract val seconds: Double
actual abstract val seconds: Double
Link copied to clipboard
expect abstract var windowContentScale: Double
actual abstract var windowContentScale: Double
actual abstract var windowContentScale: Double
Link copied to clipboard
Link copied to clipboard
expect abstract var windowPosition: Vector2
actual abstract var windowPosition: Vector2
actual abstract var windowPosition: Vector2
Link copied to clipboard
expect abstract var windowResizable: Boolean
actual abstract var windowResizable: Boolean
actual abstract var windowResizable: Boolean
Link copied to clipboard
expect abstract var windowSize: Vector2
actual abstract var windowSize: Vector2
actual abstract var windowSize: Vector2
Link copied to clipboard
expect abstract var windowTitle: String
actual abstract var windowTitle: String
actual abstract var windowTitle: String