Struct gridsim_ui::Renderer [] [src]

pub struct Renderer { /* fields omitted */ }

Stores information to render

Methods

impl Renderer
[src]

[src]

[src]

Takes a glium Facade, a drawing Surface, a Grid, a transform, and a cell to color map.

Renders the cells in a space from <-1, -1> to <1, 1> which is transformed with the transform matrix.

Trait Implementations

Auto Trait Implementations

impl !Send for Renderer

impl !Sync for Renderer