WindowProgram
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
background color that is used to clear the background every frame
Link copied to clipboard
Represents the clipboard functionality for the application.
Link copied to clipboard
Link copied to clipboard
program ended event
Link copied to clipboard
list of installed extensions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
An event triggered when assets need to be produced or generated.
Link copied to clipboard
An event triggered when there is a request for assets to be accessed or provided.
Link copied to clipboard
A map that can be used to store arbitrary data, including functions
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun Program.drawImage( width: Int, height: Int, contentScale: Double? = null, format: ColorFormat = ColorFormat.RGBa, type: ColorType = defaultColorType(format), multisample: BufferMultisample? = null, drawFunction: Drawer.() -> Unit): ColorBuffer
Create an image ColorBuffer by drawing it
Link copied to clipboard
install an Extension
install an Extension and configure it
install an extension function for the given ExtensionStage
Link copied to clipboard
Generates a timestamped name for the program, optionally including a file extension and path.
Link copied to clipboard
Link copied to clipboard
fun Program.window(configuration: WindowConfiguration = WindowConfiguration(), init: suspend Program.() -> Unit): ApplicationWindow