renderer.h 579 B

1234567891011121314151617181920212223242526
  1. #ifndef WALLENGINE_RENDER_H
  2. #define WALLENGINE_RENDER_H
  3. #include <vector>
  4. #include <wallpaperengine/video/node.h>
  5. namespace wp
  6. {
  7. namespace video
  8. {
  9. class renderer
  10. {
  11. public:
  12. static void queueNode (node* node);
  13. static void setupOrthographicCamera (irr::f32 width, irr::f32 height, irr::core::vector3df position, irr::core::vector3df lookat, irr::f32 znear, irr::f32 zfar);
  14. static void render ();
  15. private:
  16. static std::vector<node*> s_nodes;
  17. };
  18. }
  19. }
  20. #endif //WALLENGINE_RENDER_H