Module applet_v0

Source

Structs§

KeyInput
KeyInputBits
bytemuck-generated type for internal purposes only.
MouseInput
MouseInputBits
bytemuck-generated type for internal purposes only.
TouchInput
TouchInputBits
bytemuck-generated type for internal purposes only.
WindowState
Contains information about the window

Enums§

CursorMode
EventType
EventType maps to a specific type Key => KeyInput
KeyEventType
Key event type.
MouseButton
MouseEventType
Mouse event type enumeration.
TouchEventType
Touch event type.
VirtualKeyCode
Symbolic name for a keyboard key

Statics§

API
FFI API

Functions§

absolute_time
The real time that has passed since the module was started, in seconds.
applet__absolute_time
The real time that has passed since the module was started, in seconds.
applet__delta_time
Returns the time between the current and last frame
applet__event_size
The size of the allocation in bytes for the a given EventType.
applet__retrieve_events
Writes all events for a given EventType into out_events.
applet__set_cursor_mode
delta_time
Returns the time between the current and last frame
event_size
The size of the allocation in bytes for the a given EventType.
retrieve_events
Writes all events for a given EventType into out_events.
set_cursor_mode