[−][src]Function gfx_window_glutin::new_views
pub fn new_views<Cf, Df>(
window: &WindowedContext<PossiblyCurrent>
) -> (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.