Struct pixels::ScalingRenderer
source · pub struct ScalingRenderer { /* private fields */ }
Expand description
The default renderer that scales your frame to the screen size.
Implementations§
source§impl ScalingRenderer
impl ScalingRenderer
sourcepub fn render(&self, encoder: &mut CommandEncoder, render_target: &TextureView)
pub fn render(&self, encoder: &mut CommandEncoder, render_target: &TextureView)
Draw the pixel buffer to the render target.