Function gfx_window_glutin::new_views [] [src]

pub fn new_views<Cf, Df>(
    window: &GlWindow
) -> (RenderTargetView<R, Cf>, DepthStencilView<R, Df>) where
    Cf: RenderFormat,
    Df: DepthFormat

Create new main target views based on the current size of the window. Best called just after a WindowResize event.