Skip to main content

RenderSurfaces

Type Alias RenderSurfaces 

Source
pub type RenderSurfaces = Arc<dyn Fn() -> Vec<Arc<dyn IPlatformRenderSurface>> + Send + Sync>;
Expand description

Returns the current platform surfaces of a composition target.

The thread that renders calls it and uses what it returns: the function and the surfaces are shared between the threads.

Aliased Typeยง

pub struct RenderSurfaces { /* private fields */ }