An object that returns frames indefinitely. More...
Data Fields | |
void(* | start )() |
Initialise the renderer and allocate resources. | |
void(* | stop )() |
Deallocate resources. | |
struct frame_buffer_t *(* | render_frame )() |
Generate the next frame. | |
An object that returns frames indefinitely.
The renderer must be initialised by calling start() before using it, and should be deinitialised afterwards by calling stop(). The behaviour of render_frame() is undefined before initalisation, and after deinitialisation.