Trait old_school_gfx_glutin_ext::WindowUpdateExt[][src]

pub trait WindowUpdateExt {
    fn update_gfx<Color: RenderFormat, Depth: DepthFormat>(
        &self,
        color_view: &mut RenderTargetView<R, Color>,
        ds_view: &mut DepthStencilView<R, Depth>
    );
fn updated_views_raw(
        &self,
        old_dimensions: Dimensions,
        color_format: Format,
        ds_format: Format
    ) -> Option<(RawRenderTargetView<R>, RawDepthStencilView<R>)>; }

Required methods

Recreates the views if the dimensions have changed.

Return new main target views if the window resolution has changed from the old dimensions.

Implementations on Foreign Types

Implementors