Function video_mode

Source
pub unsafe extern "C" fn video_mode(
    width: u64,
    height: u64,
    refresh_rate: u64,
    format: u64,
)
Expand description

Set video monitor output mode.

Parameters:

  • width is frame width,
  • height is frame height,
  • refresh_rate is monitor refresh rate measured as the number of frames per second,
  • format is frame encoding format; see VideoFrameFormat for the list of supported formats.

By default video output is disabled.