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