Fermat
|
The abstract renderer / solver interface
#include <renderer_interface.h>
Public Methods | |
virtual uint32 | auxiliary_channel_count () |
virtual void | register_auxiliary_channels (FBufferStorage &fbuffer, const uint32 channel_offset) |
virtual void | init (int argc, char **argv, RenderingContext &renderer) |
virtual void | update_scene (RenderingContext &renderer) |
virtual void | render (const uint32 instance, RenderingContext &renderer) |
virtual void | keyboard (unsigned char character, int x, int y, bool &invalidate) |
virtual void | destroy () |
virtual void | mouse (RenderingContext &renderer, int button, int state, int x, int y) |
virtual void | draw (RenderingContext &renderer) |
virtual void | dump_speed_stats (FILE *stats) |
|
inlinevirtual |
this method is responsible for returning the number of auxiliary framebuffer channels needed by the renderer
|
inlinevirtual |
|
inlinevirtual |
this method is responsible for any additional UI/OpenGL drawing on screen
|
inlinevirtual |
dump some speed stats
Reimplemented in PathTracer.
|
inlinevirtual |
|
inlinevirtual |
this method is responsible for handling keyboard events
Reimplemented in PSFPT, and PathTracer.
|
inlinevirtual |
this method is responsible for handling mouse events
|
inlinevirtual |
this method is responsible for registering the auxiliary framebuffer channels needed by the renderer, starting at the specified offset
|
inlinevirtual |
|
inlinevirtual |
flag a scene geometry update