GPUWindow
Configuration options for creating a GPUWindow, including initial dimensions and title.
Module:elide.GPUWindow
Support: Experimental
20 members: 20 undocumented
Constructors
Methods
Properties
→ u32
Initial width of the window in logical pixels.
Device pixel ratio — physical pixels per logical pixel.
Fired when a key is pressed while the window has focus.
Fired when a key is released while the window has focus.
Fired when a mouse button is pressed inside the window.
Fired when a mouse button is released inside the window.
Fired when the mouse pointer moves within the window.
Fired when a mouse click (press and release) occurs in the window.
Fired when a double-click occurs in the window.
Fired when the mouse wheel or trackpad scrolls over the window.
Fired when the window is resized.
Fired when the window gains keyboard focus.
Fired when the window loses keyboard focus.
Fired when the window is closed by the user or programmatically.
Dictionary GPUWindowDescriptor
Configuration options for creating a GPUWindow, including initial dimensions and title.
3 members: 3 undocumented
Properties
→ u32
Initial width of the window in logical pixels.
→ string
---
Callback FrameRequestCallback
Schedule a callback before the next repaint. Returns a request ID.
---