pub type RawViewFn<Model> = fn(_: &App, _: &Model, _: RawFrame<'_>);
Expand description
The user function type for drawing their model to the surface of a single window.
Unlike the ViewFn
, the RawViewFn
is designed for drawing directly to a window’s surface
texture rather than to a convenient intermediary image.