Trait Renderer

Source
pub trait Renderer<WORLD>: Send + Sync
where WORLD: Send + Sync + 'static,
{ type Error: Debug; // Required method fn render(&mut self, world: Arc<RwLock<WORLD>>) -> Result<(), Self::Error>; }
Expand description

Re-export of Nate’s Engine Core Rendering Engine Trait

Required Associated Types§

Required Methods§

Source

fn render(&mut self, world: Arc<RwLock<WORLD>>) -> Result<(), Self::Error>

Render the necessary contents of the world

Implementors§