ProgramImplementation
The Program class, this is where most user implementations start.
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
Link copied to clipboard
Link copied to clipboard
fun Program.window(configuration: WindowConfiguration = WindowConfiguration(), init: suspend Program.() -> Unit): ApplicationWindow
Properties
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
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
Link copied to clipboard
Link copied to clipboard
A map that can be used to store arbitrary data, including functions
Link copied to clipboard