parin.bindings.em
The em module provides access to Emscripten functions.
var DOM_DELTA_LINE DOM_DELTA_PAGE DOM_DELTA_PIXEL EM_CALLBACK_THREAD_CONTEXT_CALLING_THREAD EM_CALLBACK_THREAD_CONTEXT_MAIN_RUNTIME_THREAD EM_HTML5_LONG_STRING_LEN_BYTES EM_HTML5_MEDIUM_STRING_LEN_BYTES EM_HTML5_SHORT_STRING_LEN_BYTES EM_TIMING_RAF EM_TIMING_SETIMMEDIATE EM_TIMING_SETTIMEOUT EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_HIDEF EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_NONE EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_STDDEF EMSCRIPTEN_FULLSCREEN_FILTERING_BILINEAR EMSCRIPTEN_FULLSCREEN_FILTERING_DEFAULT EMSCRIPTEN_FULLSCREEN_FILTERING_NEAREST EMSCRIPTEN_FULLSCREEN_SCALE_ASPECT EMSCRIPTEN_FULLSCREEN_SCALE_CENTER EMSCRIPTEN_FULLSCREEN_SCALE_DEFAULT EMSCRIPTEN_FULLSCREEN_SCALE_STRETCH EMSCRIPTEN_ORIENTATION_LANDSCAPE_PRIMARY EMSCRIPTEN_ORIENTATION_LANDSCAPE_SECONDARY EMSCRIPTEN_ORIENTATION_PORTRAIT_PRIMARY EMSCRIPTEN_ORIENTATION_PORTRAIT_SECONDARY EMSCRIPTEN_ORIENTATION_UNSUPPORTED
alias em_battery_callback_func em_beforeunload_callback em_canvasresized_callback_func em_devicemotion_callback_func em_deviceorientation_callback_func em_focus_callback_func em_fullscreenchange_callback_func em_gamepad_callback_func em_key_callback_func em_mouse_callback_func em_orientationchange_callback_func em_pointerlockchange_callback_func em_pointerlockerror_callback_func em_pthread_t em_touch_callback_func em_ui_callback_func em_visibilitychange_callback_func em_wheel_callback_func EMSCRIPTEN_EVENT_TYPE EMSCRIPTEN_RESULT
struct EmscriptenBatteryEvent EmscriptenDeviceMotionEvent EmscriptenDeviceOrientationEvent EmscriptenFocusEvent EmscriptenFullscreenChangeEvent EmscriptenFullscreenStrategy EmscriptenGamepadEvent EmscriptenKeyboardEvent EmscriptenMouseEvent EmscriptenOrientationChangeEvent EmscriptenPointerlockChangeEvent EmscriptenTouchEvent EmscriptenTouchPoint EmscriptenUiEvent EmscriptenVisibilityChangeEvent EmscriptenWheelEvent
fn emscripten_cancel_animation_frame emscripten_cancel_main_loop emscripten_date_now emscripten_enter_soft_fullscreen emscripten_exit_fullscreen emscripten_exit_pointerlock emscripten_exit_soft_fullscreen emscripten_get_battery_status emscripten_get_canvas_element_size emscripten_get_device_pixel_ratio emscripten_get_element_css_size emscripten_get_fullscreen_status emscripten_get_gamepad_status emscripten_get_mouse_status emscripten_get_num_gamepads emscripten_get_pointerlock_status emscripten_get_visibility_status emscripten_hide_mouse emscripten_html5_remove_all_event_listeners emscripten_html5_remove_event_listener emscripten_lock_orientation emscripten_performance_now emscripten_request_animation_frame emscripten_request_animation_frame_loop emscripten_request_fullscreen emscripten_request_fullscreen_strategy emscripten_request_pointerlock emscripten_sample_gamepad_data emscripten_set_batterychargingchange_callback_on_thread emscripten_set_batterylevelchange_callback_on_thread emscripten_set_beforeunload_callback_on_thread emscripten_set_blur_callback_on_thread emscripten_set_canvas_element_size emscripten_set_click_callback_on_thread emscripten_set_contextmenu_callback_on_thread emscripten_set_dblclick_callback_on_thread emscripten_set_devicemotion_callback_on_thread emscripten_set_deviceorientation_callback_on_thread emscripten_set_element_css_size emscripten_set_focus_callback_on_thread emscripten_set_focusin_callback_on_thread emscripten_set_focusout_callback_on_thread emscripten_set_fullscreenchange_callback_on_thread emscripten_set_gamepadconnected_callback_on_thread emscripten_set_gamepaddisconnected_callback_on_thread emscripten_set_keydown_callback_on_thread emscripten_set_keypress_callback_on_thread emscripten_set_keyup_callback_on_thread emscripten_set_main_loop emscripten_set_main_loop_timing emscripten_set_mousedown_callback_on_thread emscripten_set_mouseenter_callback_on_thread emscripten_set_mouseleave_callback_on_thread emscripten_set_mousemove_callback_on_thread emscripten_set_mouseout_callback_on_thread emscripten_set_mouseover_callback_on_thread emscripten_set_mouseup_callback_on_thread emscripten_set_orientationchange_callback_on_thread emscripten_set_pointerlockchange_callback_on_thread emscripten_set_pointerlockerror_callback_on_thread emscripten_set_resize_callback_on_thread emscripten_set_scroll_callback_on_thread emscripten_set_touchcancel_callback_on_thread emscripten_set_touchend_callback_on_thread emscripten_set_touchmove_callback_on_thread emscripten_set_touchstart_callback_on_thread emscripten_set_visibilitychange_callback_on_thread emscripten_set_wheel_callback_on_thread emscripten_set_window_title emscripten_unlock_orientation emscripten_vibrate emscripten_vibrate_pattern
Types 36
aliasem_pthread_t = size_t
aliasEMSCRIPTEN_EVENT_TYPE = int
aliasEMSCRIPTEN_RESULT = int
This type is used to return the result of most functions in this API. Zero and positive values denote success, while negative values signal failure.
aliasem_mouse_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenMouseEvent * mouseEvent, void * userData)
aliasem_key_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenKeyboardEvent * keyEvent, void * userData)
aliasem_wheel_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenWheelEvent * wheelEvent, void * userData)
aliasem_ui_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenUiEvent * uiEvent, void * userData)
aliasem_focus_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenFocusEvent * focusEvent, void * userData)
aliasem_deviceorientation_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenDeviceOrientationEvent * deviceOrientationEvent, void * userData)
aliasem_devicemotion_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenDeviceMotionEvent * deviceMotionEvent, void * userData)
aliasem_orientationchange_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenOrientationChangeEvent * orientationChangeEvent, void * userData)
aliasem_fullscreenchange_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenFullscreenChangeEvent * fullscreenChangeEvent, void * userData)
aliasem_pointerlockchange_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenPointerlockChangeEvent * pointerlockChangeEvent, void * userData)
aliasem_pointerlockerror_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, void * reserved, void * userData)
aliasem_visibilitychange_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenVisibilityChangeEvent * visibilityChangeEvent, void * userData)
aliasem_touch_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenTouchEvent * touchEvent, void * userData)
aliasem_gamepad_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenGamepadEvent * gamepadEvent, void * userData)
aliasem_battery_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, EmscriptenBatteryEvent * batteryEvent, void * userData)
aliasem_beforeunload_callback = const(char) * function(EMSCRIPTEN_EVENT_TYPE eventType, void * reserved, void * userData)
aliasem_canvasresized_callback_func = bool function(EMSCRIPTEN_EVENT_TYPE eventType, void * reserved, void * userData)
structEmscriptenMouseEvent
Fields
double timestampint screenXint screenYint clientXint clientYbool ctrlKeybool shiftKeybool altKeybool metaKeyushort buttonushort buttonsint movementXint movementYint targetXint targetYint canvasXint canvasYint paddingstructEmscriptenTouchPoint
Fields
int identifierint screenXint screenYint clientXint clientYint pageXint pageYbool isChangedbool onTargetint targetXint targetYint canvasXint canvasYstructEmscriptenTouchEvent
Fields
double timestampint numTouchesbool ctrlKeybool shiftKeybool altKeybool metaKeyjoka.StaticArray!(EmscriptenTouchPoint, 32) touchesstructEmscriptenKeyboardEvent
Fields
double timestampuint locationbool ctrlKeybool shiftKeybool altKeybool metaKeybool repeatuint charCodeuint keyCodeuint whichchar[EM_HTML5_SHORT_STRING_LEN_BYTES] keychar[EM_HTML5_SHORT_STRING_LEN_BYTES] codechar[EM_HTML5_SHORT_STRING_LEN_BYTES] charValuechar[EM_HTML5_SHORT_STRING_LEN_BYTES] localestructEmscriptenWheelEvent
structEmscriptenUiEvent
Fields
int detailint documentBodyClientWidthint documentBodyClientHeightint windowInnerWidthint windowInnerHeightint windowOuterWidthint windowOuterHeightint scrollTopint scrollLeftstructEmscriptenFocusEvent
Fields
char[EM_HTML5_LONG_STRING_LEN_BYTES] nodeNamechar[EM_HTML5_LONG_STRING_LEN_BYTES] idFields
double alphadouble betadouble gammabool absoluteFields
double accelerationXdouble accelerationYdouble accelerationZdouble accelerationIncludingGravityXdouble accelerationIncludingGravityYdouble accelerationIncludingGravityZdouble rotationRateAlphadouble rotationRateBetadouble rotationRateGammaint supportedFieldsFields
int orientationIndexint orientationAngleFields
bool isFullscreenbool fullscreenEnabledchar[EM_HTML5_LONG_STRING_LEN_BYTES] nodeNamechar[EM_HTML5_LONG_STRING_LEN_BYTES] idint elementWidthint elementHeightint screenWidthint screenHeightFields
bool isActivechar[EM_HTML5_LONG_STRING_LEN_BYTES] nodeNamechar[EM_HTML5_LONG_STRING_LEN_BYTES] idFields
bool hiddenint visibilityStatestructEmscriptenGamepadEvent
Fields
double timestampint numAxesint numButtonsdouble[64] axisdouble[64] analogButtonbool[64] digitalButtonbool connectedint indexchar[EM_HTML5_MEDIUM_STRING_LEN_BYTES] idchar[EM_HTML5_MEDIUM_STRING_LEN_BYTES] mappingstructEmscriptenBatteryEvent
Fields
double chargingTimedouble dischargingTimedouble levelbool chargingFields
int scaleModeint canvasResolutionScaleModeint filteringModeem_canvasresized_callback_func canvasResizedCallbackvoid * canvasResizedCallbackUserDataem_pthread_t canvasResizedCallbackTargetThreadFunctions 72
fn
EMSCRIPTEN_RESULT emscripten_set_keypress_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_key_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_keydown_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_key_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_keyup_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_key_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_click_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_mousedown_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_mouseup_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_dblclick_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_mousemove_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_mouseenter_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_mouseleave_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_mouseover_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_mouseout_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_contextmenu_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_mouse_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_get_mouse_status(EmscriptenMouseEvent * mouseState) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_wheel_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_wheel_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_resize_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_ui_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_scroll_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_ui_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_blur_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_focus_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_focus_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_focus_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_focusin_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_focus_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_focusout_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_focus_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_deviceorientation_callback_on_thread(void * userData, bool useCapture, em_deviceorientation_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_devicemotion_callback_on_thread(void * userData, bool useCapture, em_devicemotion_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_orientationchange_callback_on_thread(void * userData, bool useCapture, em_orientationchange_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_lock_orientation(int allowedOrientations) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_request_fullscreen(const(char) * target, bool deferUntilInEventHandler) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_request_fullscreen_strategy(const(char) * target, bool deferUntilInEventHandler, const EmscriptenFullscreenStrategy * fullscreenStrategy) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_enter_soft_fullscreen(const(char) * target, const EmscriptenFullscreenStrategy * fullscreenStrategy) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_fullscreenchange_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_fullscreenchange_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_get_fullscreen_status(EmscriptenFullscreenChangeEvent * fullscreenStatus) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_request_pointerlock(const(char) * target, bool deferUntilInEventHandler) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_pointerlockchange_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_pointerlockchange_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_pointerlockerror_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_pointerlockerror_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_get_pointerlock_status(EmscriptenPointerlockChangeEvent * pointerlockStatus) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_visibilitychange_callback_on_thread(void * userData, bool useCapture, em_visibilitychange_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_get_visibility_status(EmscriptenVisibilityChangeEvent * visibilityStatus) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_touchstart_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_touch_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_touchend_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_touch_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_touchmove_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_touch_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_touchcancel_callback_on_thread(const(char) * target, void * userData, bool useCapture, em_touch_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_gamepadconnected_callback_on_thread(void * userData, bool useCapture, em_gamepad_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_gamepaddisconnected_callback_on_thread(void * userData, bool useCapture, em_gamepad_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_get_gamepad_status(int index, EmscriptenGamepadEvent * gamepadState) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_batterychargingchange_callback_on_thread(void * userData, em_battery_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_batterylevelchange_callback_on_thread(void * userData, em_battery_callback_func callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_get_battery_status(EmscriptenBatteryEvent * batteryState) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_vibrate_pattern(int * msecsArray, int numEntries) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_beforeunload_callback_on_thread(void * userData, em_beforeunload_callback callback, em_pthread_t targetThread) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_html5_remove_event_listener(const(char) * target, void * userData, EMSCRIPTEN_EVENT_TYPE eventTypeId, void * callback) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_get_canvas_element_size(const(char) * target, int * width, int * height) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_canvas_element_size(const(char) * target, int width, int height) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_get_element_css_size(const(char) * target, double * width, double * height) extern(C) @system nothrow @nogcfn
EMSCRIPTEN_RESULT emscripten_set_element_css_size(const(char) * target, double width, double height) extern(C) @system nothrow @nogcfn
int emscripten_request_animation_frame(bool function(double time, void * userData) cb, void * userData) extern(C) @system nothrow @nogcfn
void emscripten_cancel_animation_frame(int requestAnimationFrameId) extern(C) @system nothrow @nogcfn
void emscripten_request_animation_frame_loop(bool function(double time, void * userData) cb, void * userData) extern(C) @system nothrow @nogcVariables 26
enumvar
EM_TIMING_SETTIMEOUT = 0enumvar
EM_TIMING_RAF = 1enumvar
EM_TIMING_SETIMMEDIATE = 2enumvar
EM_CALLBACK_THREAD_CONTEXT_MAIN_RUNTIME_THREAD = 1enumvar
EM_CALLBACK_THREAD_CONTEXT_CALLING_THREAD = 2enumvar
EM_HTML5_SHORT_STRING_LEN_BYTES = 32enumvar
EM_HTML5_MEDIUM_STRING_LEN_BYTES = 64enumvar
EM_HTML5_LONG_STRING_LEN_BYTES = 128enumvar
DOM_DELTA_PIXEL = 0enumvar
DOM_DELTA_LINE = 1enumvar
DOM_DELTA_PAGE = 2enumvar
EMSCRIPTEN_ORIENTATION_UNSUPPORTED = 0enumvar
EMSCRIPTEN_ORIENTATION_PORTRAIT_PRIMARY = 1enumvar
EMSCRIPTEN_ORIENTATION_PORTRAIT_SECONDARY = 2enumvar
EMSCRIPTEN_ORIENTATION_LANDSCAPE_PRIMARY = 4enumvar
EMSCRIPTEN_ORIENTATION_LANDSCAPE_SECONDARY = 8enumvar
EMSCRIPTEN_FULLSCREEN_SCALE_DEFAULT = 0enumvar
EMSCRIPTEN_FULLSCREEN_SCALE_STRETCH = 1enumvar
EMSCRIPTEN_FULLSCREEN_SCALE_ASPECT = 2enumvar
EMSCRIPTEN_FULLSCREEN_SCALE_CENTER = 3enumvar
EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_NONE = 0enumvar
EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_STDDEF = 1enumvar
EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_HIDEF = 2enumvar
EMSCRIPTEN_FULLSCREEN_FILTERING_DEFAULT = 0enumvar
EMSCRIPTEN_FULLSCREEN_FILTERING_NEAREST = 1enumvar
EMSCRIPTEN_FULLSCREEN_FILTERING_BILINEAR = 2