Framebuffers.h 443 B

1234567891011121314151617181920
  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. void setFactor(int factor);
  10. Framebuffer world;
  11. Framebuffer ssao;
  12. Framebuffer ssaoBlur;
  13. Framebuffer shadow;
  14. Framebuffer antialias;
  15. };
  16. #endif