Function wgpu_core::command::render::set_viewport
source ยท fn set_viewport(
state: &mut State<'_, '_, '_, '_>,
rect: Rect<f32>,
depth_min: f32,
depth_max: f32,
) -> Result<(), RenderPassErrorInner>