API Documentation
|
#include <Renderer.h>
Public Member Functions | |
Renderer (const DynamicPointer< GraphicsPipeline > &pipeline, const ConstPointer< Camera > &camera, WindowInstance *instance, ProgressInfo *log) | |
virtual | ~Renderer () |
void | render (bool wait_until_needed, bool force_render=true) |
void | renderLoop () |
void | setActive (bool is_active) |
void | setFPS (fltp08 fps) |
fltp08 | getFPS () const |
uint04 | multisample () const |
void | run () |
void | ensureLastRenderComplete () |
Time | getFrameStartTime () const |
void | cleanup () |
void | init (DesignObjectLookup *lookup) |
ProgressInfo * | log () |
void | updateSingleThreaded () |
GraphicsUpdater * | updater () const |
GraphicsUpdateArguments & | getArguments () |
void | setWindowInstance (WindowInstance *window) |
void | addScene (const UUID &model) |
const DynamicPointer< GraphicsDevice > & | device () const |
void | addModel (const UUID &model) |
void | removeModel (const UUID &model) |
void | clearModels () |
void | setPostRenderFunction (const std::function< void()> &function) |
void | setupSurface () |
void | requestRedraw () |
void | grabImage (Image *image) |
void | updateArgs (bool force_render) |
void | grabImageNextRender (Image *image) |
DynamicPointer< GraphicsPipeline > | pipeline () const |
virtual void | setCamera (const ConstPointer< Camera > &camera) |
void | setOverrideMaterial (UUID material) |
void | updatePipeline () |
void | pause (TimeSpan span) |
bool | isActive () |
Renderer | ( | const DynamicPointer< GraphicsPipeline > & | pipeline, |
const ConstPointer< Camera > & | camera, | ||
WindowInstance * | instance, | ||
ProgressInfo * | log ) |
|
virtual |
void addModel | ( | const UUID & | model | ) |
void addScene | ( | const UUID & | model | ) |
|
inline |
void clearModels | ( | ) |
const DynamicPointer< GraphicsDevice > & device | ( | ) | const |
void ensureLastRenderComplete | ( | ) |
|
inline |
|
inline |
|
inline |
void grabImage | ( | Image * | image | ) |
void grabImageNextRender | ( | Image * | image | ) |
void init | ( | DesignObjectLookup * | lookup | ) |
|
inline |
|
inline |
uint04 multisample | ( | ) | const |
void pause | ( | TimeSpan | span | ) |
|
inline |
void removeModel | ( | const UUID & | model | ) |
void render | ( | bool | wait_until_needed, |
bool | force_render = true ) |
void renderLoop | ( | ) |
void requestRedraw | ( | ) |
void run | ( | ) |
void setActive | ( | bool | is_active | ) |
|
virtual |
|
inline |
void setOverrideMaterial | ( | UUID | material | ) |
|
inline |
void setupSurface | ( | ) |
void setWindowInstance | ( | WindowInstance * | window | ) |
void updateArgs | ( | bool | force_render | ) |
void updatePipeline | ( | ) |
|
inline |
void updateSingleThreaded | ( | ) |