Function old_school_gfx_glutin_ext::resized_views
source · pub fn resized_views<Color: RenderFormat, Depth: DepthFormat>(
new_size: PhysicalSize<u32>,
color_view: &RenderTargetView<R, Color>,
depth_view: &DepthStencilView<R, Depth>
) -> Option<(RenderTargetView<R, Color>, DepthStencilView<R, Depth>)>
Expand description
Return new gfx views if the dimensions have changed.