pub fn add_layer_to_bottom(&mut self) -> LayerHandle {
        let handle = LayerHandle::generate();
        self.layers.insert(handle, Layer::empty());
        if self.render_order.is_empty() {
            self.render_order.push(handle);
        } else {
            self.render_order.insert(0, handle);
        }
        handle
    }
/// Add a layer to be rendered under all existing layers
Add a layer to be rendered under all existing layers
Add a layer to be rendered under all existing layers
pub fn add_layer_to_bottom(&mut self) -> LayerHandle {
        let handle = LayerHandle::generate();
        self.layers.insert(handle, Layer::empty());
        if self.render_order.is_empty() {
            self.render_order.push(handle);
        } else {
            self.render_order.insert(0, handle);
        }
        handle
    }
pub fn add_layer_to_bottom ( & mut self ) -> LayerHandle { let handle = LayerHandle :: generate ( ) ; self . layers . insert ( handle , Layer :: empty ( ) ) ; if self . render_order . is_empty ( ) { self . render_order . push ( handle ) ; } else { self . render_order . insert ( 0 , handle ) ; } handle }
Add a layer to be rendered under all existing layers
Add a layer to be rendered under all existing layers
&mut self