Function nannou::app [] [src]

pub fn app<M, E>(
    model: ModelFn<M>,
    update: UpdateFn<M, E>,
    draw: DrawFn<M>
) -> Builder<M, E> where
    E: LoopEvent

Begin building a nannou App.

Every nannou App must have model, update and draw functions.

An exit function can be optionally specified using the exit builder method.