Struct mini_gl_fb::config::Config [−][src]
pub struct Config<S: ToString> { pub buffer_size: (u32, u32), pub resizable: bool, pub window_title: S, pub window_size: (f64, f64), }
Configuration for "advanced" use cases, when gotta_go_fast
isn't doing what you need.
The following pattern is reccomended when creating a config:
let config = Config { /* specify whichever fields you need to set, for example: */ window_size: (100.0, 100.0), resizable: false, .. Default::default() }
If there's a config option you want to see or think is missing, please open an issue!
Fields
buffer_size: (u32, u32)
Sets the scale of the buffer. The buffer will automatically scale to the size of the window. By default this will be the same size as the window_size.
resizable: bool
window_title: S
window_size: (f64, f64)