[][src]Function tetra::window::get_monitor_count

pub fn get_monitor_count(ctx: &Context) -> Result<i32>

Get the number of monitors connected to the device.

Errors

  • TetraError::PlatformError will be returned if the monitor state was inaccessible.