[−][src]Crate sapp_wasm
Re-exports
pub use gl::*; |
Modules
fs | |
gl |
Structs
sapp_desc | |
sapp_event | |
sapp_touchpoint |
Constants
Functions
allocate_vec_u8 | |
canvas_height⚠ | |
canvas_width⚠ | |
clipboard_get | |
clipboard_set | |
console_debug⚠ | |
console_error⚠ | |
console_info⚠ | |
console_log⚠ | |
console_warn⚠ | |
crate_version | |
frame | |
init_opengl⚠ | |
key_down | |
key_press | |
key_up | |
mouse_down | |
mouse_move | |
mouse_up | |
mouse_wheel | |
now⚠ | |
on_clipboard_paste | |
rand⚠ | |
raw_mouse_move | |
resize | |
sapp_dpi_scale⚠ | |
sapp_height⚠ | |
sapp_high_dpi⚠ | |
sapp_is_elapsed_timer_supported⚠ | |
sapp_run⚠ | |
sapp_set_clipboard⚠ | |
sapp_set_cursor_grab⚠ | call "requestPointerLock" and "exitPointerLock" internally. Will hide cursor and will disable mouse_move events, but instead will will make inifinite mouse field for raw_device_input event. Notice that this function will works only from "engaging" event callbacks - from "mouse_down"/"key_down" event handler functions. |
sapp_show_mouse⚠ | Do nothing on wasm - cursor will be hidden by "sapp_set_cursor_grab" anyway. |
sapp_width⚠ | |
touch |
Type Definitions
sapp_event_type | |
sapp_keycode | |
sapp_mousebutton |