Framebuffers.h 365 B

123456789101112131415161718
  1. #ifndef FRAMEBUFFERS_H
  2. #define FRAMEBUFFERS_H
  3. #include "gaming-core/rendering/Framebuffer.h"
  4. #include "gaming-core/utils/Size.h"
  5. struct Framebuffers final {
  6. Framebuffers();
  7. void resize(const Size& size);
  8. bool init(const Size& size);
  9. Framebuffer<5> world;
  10. Framebuffer<1> ssao;
  11. Framebuffer<1> ssaoBlur;
  12. Framebuffer<1> shadow;
  13. };
  14. #endif