Skip to content

GFX.MainWindow

Name - Description Default Type
<input>
<output> Object
Title The title of the window to create. "Shards Window" String
Width The width of the window to create. In pixels and DPI aware. 1280 Int
Height The height of the window to create. In pixels and DPI aware. 720 Int
Contents The main input loop of this window. None Shard[Shard]
DetachRenderer When enabled, no default graphics renderer will be available in the contents wire. false Bool
HandleCloseEvent When set to false; the close event will not be handled and abort the wire the window is running in. True by default. true Bool
UseDisplayScaling When enabled, the window size will be scaled using the OS's provided scaling value. True by default. true Bool