fn clear(&mut self, color: Color<f32>) -> Result<()> {
        self.flush()?;
        self.pending_clear_color = Some(color.into());
        Ok(())
    }
/// Set the clear color and mark the frame buffer for clearing. The actual clear operation
/// will be performed when the next batched render happens, or when `present` is called,
/// whichever comes first.
Set the clear color and mark the frame buffer for clearing. The actual clear operation
will be performed when the next batched render happens, or when `present` is called,
whichever comes first.
Set the clear color and mark the frame buffer for clearing . The actual clear operation will be performed when the next batched render happens or when ` present ` is called whichever comes first .
fn clear(&mut self, color: Color<f32>) -> Result<()> {
        self.flush()?;
        self.pending_clear_color = Some(color.into());
        Ok(())
    }
fn clear ( & mut self , color : Color < f32 > ) -> Result < ( ) > { self . flush ( ) ? ; self . pending_clear_color = Some ( color . into ( ) ) ; Ok ( ( ) ) }
Set the clear color and mark the frame buffer for clearing.
Set the clear color and mark the frame buffer for clearing .
&mut self
color
Color<f32>
&mut self
color
Color<f32>