Clears the current layer
(&mut self)
| 162 | |
| 163 | /// Clears the current layer |
| 164 | fn clear_layer(&mut self) { self.draw(Draw::ClearLayer); } |
| 165 | |
| 166 | /// Clears all of the layers (without resetting any other resources, as clear_canvas does) |
| 167 | fn clear_all_layers(&mut self) { self.draw(Draw::ClearAllLayers); } |