Struct onyx::context::Context [] [src]

pub struct Context {
    pub display: Display,
    pub color: Cell<Color>,
    pub background_color: Cell<Color>,
    pub size: Cell<Vec2>,
    pub mouse: Cell<Vec2>,
    pub dt: Cell<Duration>,
    pub quad: Mesh,
    pub white: Texture,
    pub default_shader: Shader,
}

Fields

Methods

impl Context
[src]