pub trait OutputDescExt {
    // Required methods
    fn width(&self) -> u32;
    fn height(&self) -> u32;
    fn calc_buffer_size(&self) -> usize;
}

Required Methods§

source

fn width(&self) -> u32

source

fn height(&self) -> u32

source

fn calc_buffer_size(&self) -> usize

Implementations on Foreign Types§

source§

impl OutputDescExt for DXGI_OUTPUT_DESC

source§

fn calc_buffer_size(&self) -> usize

Return needed buffer size, in bytes.

source§

fn width(&self) -> u32

source§

fn height(&self) -> u32

Implementors§