renderer.h 682 B

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