Package-level declarations
Types
Application interface
Application interface
This class is responsible for selecting and initializing the appropriate graphics backend.
This is accessible before finalizing the application in ApplicationBuilder.
This is accessible before finalizing the application in ApplicationBuilder.
This is accessible before finalizing the application in ApplicationBuilder.
Abstract class for constructing and configuring an application. The ApplicationBuilder
serves as the entry point for setting up the application's program, configuration, and other components.
Application configuration object
Mouse events
ApplicationPreload can be used to configure Application and Program without changing user code.
Represents an event triggered by a character input, typically used in text input scenarios.
Configuration class to customize the behavior, appearance, and settings of a window in an application.
Represents the type of cursor used within an application.
Represents a host for managing and executing extensions within a program. This interface provides methods for adding, configuring, and executing extensions at different stages of the program's lifecycle.
Represents the various stages of an extension's lifecycle in the application.
Fullscreen mode
Interface representing input events in an application. Combines events related to mouse, keyboard, and pointers.
The Keyboard
class provides event-based interaction for keyboard inputs. It implements the KeyEvents
interface to handle various types of keyboard-related events such as key presses, releases, repetitions, and character inputs. These events are typically triggered by the Application
interacting with the underlying system.
Key event describes key events.
Represents the type of a key event in an application.
Represents key modifiers that can be used in combination with keyboard or mouse input.
Tracks the keys currently pressed on the keyboard.
Represents mouse buttons commonly used in interaction with graphical user interfaces.
Represents a mouse event in a 2D GUI or application.
Represents the types of mouse events that can occur in the system.
Keeps track of which mouse buttons are currently pressed. Usage: val mt = MouseTracker(mouse)
, then read mt.pressedButtons
. Replaces MouseEvents.pressedButtons
.
PresentationMode describes modes of frame presentation
Represents a program interface that combines input event handling, extension hosting, and clock functionalities. It provides common properties and methods for managing the lifecycle of a program, drawing operations, and asset management.
Represents an event occurring within a program.
program event type
The Program class, this is where most user implementations start.
Specifies the behavior applied when an application window loses focus.
window event message
Represents the types of events that can occur on a window.
Properties
Functions
Constructs and configures an application using the provided builder block.
Configures and initializes an application using the specified program and optional configuration settings.
Creates and runs a synchronous OPENRNDR application using the provided ApplicationBuilder.
Runs program as a synchronous application with the given configuration.
Runs program as a synchronous application with the given configuration.
Convenience function for building a new Configuration.
Create an image ColorBuffer by drawing it
launch a coroutine in the Program context
Generates a timestamped name for the program, optionally including a file extension and path.