Function tetra::window::get_monitor_count
source · pub fn get_monitor_count(ctx: &Context) -> Result<i32>
Expand description
Gets the number of monitors connected to the device.
Errors
TetraError::PlatformError
will be returned if the monitor state was inaccessible.