Struct vulkano::swapchain::display::DisplayMode
[−]
[src]
pub struct DisplayMode { /* fields omitted */ }
Represents a mode on a specific display.
Methods
impl DisplayMode
[src]
fn display(&self) -> &Display
[src]
Returns the display corresponding to this mode.
fn visible_region(&self) -> [u32; 2]
[src]
Returns the dimensions of the region that is visible on the monitor.
fn refresh_rate(&self) -> u32
[src]
Returns the refresh rate of this mode.
Trait Implementations
impl VulkanObject for DisplayMode
[src]
type Object = DisplayModeKHR
The type of the object.
fn internal_object(&self) -> DisplayModeKHR
[src]
Returns a reference to the object.