layers::view

Type Alias PreRenderHook

source
pub type PreRenderHook<S> = Arc<dyn Fn(&S, &View<S>) + Send + Sync + 'static>;
Expand description

A View<S> is a struct to support the creation of complex hierarchies of layers that can be rendered by the engine.

Aliased Typeยง

struct PreRenderHook<S> { /* private fields */ }