Framebuffers.h 384 B

123456789101112131415161718
  1. #ifndef FRAMEBUFFERS_H
  2. #define FRAMEBUFFERS_H
  3. #include "client/rendering/WindowSize.h"
  4. #include "client/rendering/wrapper/Framebuffer.h"
  5. struct Framebuffers final {
  6. Framebuffers(const WindowSize& size);
  7. void resize(uint width, uint height);
  8. bool hasError() const;
  9. Framebuffer world;
  10. Framebuffer ssao;
  11. Framebuffer ssaoBlur;
  12. Framebuffer shadow;
  13. };
  14. #endif