graphicility 0.3.0

A Minimal Graphics Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{FrameContext};


pub trait Extension {
    /// Setup your extension
    fn on_init(&mut self){}
    /// Called Before Drawing
    fn pre_draw(&mut self, _ctx: &mut FrameContext) {}
    // Called After Drawing
    fn post_draw(&mut self , _ctx: &mut FrameContext){}
 
}