Expand description
Window and associated to window rendering context related functions.
Re-exports§
pub use miniquad;
Structs§
- Conf
- Describes a hardware and platform-specific setup.
- Internal
GlContext
Functions§
- clear_
background - Fill window background with solid color. Note: even when “clear_background” was not called explicitly screen will be cleared at the beginning of the frame.
- get_
internal_ ⚠gl - next_
frame - Block execution until the next frame.
- request_
new_ screen_ size - Request the window size to be the given value. This takes DPI into account.
- screen_
dpi_ scale - screen_
height - screen_
width - set_
fullscreen - Toggle whether the window is fullscreen.
- set_
panic_ handler - With
set_panic_handler
set to a handler code, macroquad will usestd::panic::catch_unwind
on user code to catch some panics.