pub fn resize_views<Color: RenderFormat, Depth: DepthFormat>(
    new_size: PhysicalSize<u32>,
    color_view: &mut RenderTargetView<R, Color>,
    depth_view: &mut DepthStencilView<R, Depth>
)
Expand description

Recreate and replace gfx views if the dimensions have changed.