Constructor

@:value({ framebuffer : null, window : null, height : -1, width : -1, title : "Kha" })new(title:String = "Kha", width:Int = -1, height:Int = -1, ?window:WindowOptions, ?framebuffer:FramebufferOptions)

Used to provide parameters for System.start

Parameters:

title

The application title is the default window title (unless the window parameter provides a title of its own) and is used for various other purposes - for example for save data locations

width

Just a shortcut which overwrites window.width if set

height

Just a shortcut which overwrites window.height if set

window

Optionally provide window options

framebuffer

Optionally provide framebuffer options

Variables

@:value(null)@:optionaloptionalframebuffer:FramebufferOptions = null

@:value(-1)@:optionaloptionalheight:Int = -1

@:value("Kha")@:optionaloptionaltitle:String = "Kha"

@:value(-1)@:optionaloptionalwidth:Int = -1

@:value(null)@:optionaloptionalwindow:WindowOptions = null