class Lemonade::Renderer
- Lemonade::Renderer
- Reference
- Object
Overview
TODO multiple renderers:
- abstract BaseRenderer (with start, stop, running?, notify_draw (or draw ? or request_draw ?))
- MinimalRenderer (no debouncer, no fiber)
- FiberRenderer (no debouncer)
- with render debouncer like here (TODO: find a name)
TODO explain how it works (?) and why it's important to render asynchronously, and not on every draw request
Defined in:
lemonade/renderer.crConstructors
Class Method Summary
Instance Method Summary
- #controller : Channel(Lemonade::Renderer::Event)
- #enable_debug? : Bool
- #name : String
- #notify_draw
- #redraw_minimal_interval : Time::Span
- #redraw_minimal_interval=(redraw_minimal_interval : Time::Span)
- #redraw_scheduled? : Bool
- #rendering_loop(frame_block, io)
- #running? : Bool
- #start(content : Block::BaseBlock, io)
- #stop