start(content, io)
SourceLemonade::Renderer
Inherits Reference < Object
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
Constructors
new(name : String = "renderer")
SourceClass methods
Instance methods
controller
Sourceenable_debug?
Sourcename
Sourcenotify_draw
Sourceredraw_minimal_interval
Sourceredraw_minimal_interval=(redraw_minimal_interval : Time::Span)
Sourceredraw_scheduled?
Sourcerendering_loop(frame_block, io)
Sourcerunning?
Sourcestart(content : Block::BaseBlock, io)
Sourcestop
Source