pub fn frame_fun_default_2d<R: Resource>( render: &mut Render<R>, frame: Option<&mut Frame>, )
Default 2D frame function clears all and calls resource draw_2d method.
draw_2d