class

Window

Inherits RenderLoop::Window / Reference / Object

Constructors

new(title : String, width : UInt16 = 800, height : UInt16 = 600, fullscreen : Bool = false, cursor_visible : Bool = false)
Source

Instance methods

cursor_position

TODO: This is implementation specific and shouldn't be part of this lib.

Source
cursor_position=(position : RenderLoop::Position)

TODO: This is implementation specific and shouldn't be part of this lib.

Source
cursor_visible=(visible : Bool)

TODO: This is implementation specific and shouldn't be part of this lib. abstract def cursor_visible? : Bool TODO: This is implementation specific and shouldn't be part of this lib.

Source
cursor_visible?
Source
destroy
Source
fullscreen?
Source
height
Source
hide
Source
input
Source
key_pressed?(k : Key) : Bool

TODO: This is implementation specific and shouldn't be part of this lib.

Source
mouse_button_pressed?(b : MouseButton) : Bool

TODO: This is implementation specific and shouldn't be part of this lib.

Source
render
Source
should_close?
Source
show
Source
size(s : RenderLoop::Size)

TODO: This is implementation specific and shouldn't be part of this lib.

Source
size

TODO: This is implementation specific and shouldn't be part of this lib.

Source
startup(adapter : WGPU::Adapter, device : WGPU::Device)
Source
startup
Source
surface

Graphics resources

Source
swap_chain
Source
title
Source
title=(title : String)
Source
update
Source
visible?
Source
width
Source