[][src]Function nannou::ui::draw_primitives

pub fn draw_primitives(
    ui: &Ui,
    app: &App,
    frame: &Frame,
    primitives: Primitives
) -> Result<(), DrawToFrameError>

A function shared by the draw_to_frame and draw_to_frame_if_changed methods for renderering the list of conrod primitives and presenting them to the frame.