GlistEngine
Loading...
Searching...
No Matches
gPostProcessManager.h
Go to the documentation of this file.
1/*
2 * gPostProcessManager.h
3 *
4 * Created on: 29 Kas 2021
5 * Author: kayra
6 */
7
8#ifndef CORE_GPOSTPROCESSMANAGER_H_
9#define CORE_GPOSTPROCESSMANAGER_H_
10
11#include "gFbo.h"
12#include "gRenderObject.h"
13#include "gBasePostProcess.h"
14
37public:
40
48 void setDimensions(int width, int height);
49
57
63 void enable();
64
70 void disable();
71private:
72
73 static const int fbocount;
74 std::vector<gBasePostProcess*> effects;
75
76 gFbo *fbos;
77 int fbotoread, fbotowrite, lastwrittenfbo;
78
79 int width, height;
80};
81
82#endif /* CORE_GPOSTPROCESSMANAGER_H_ */
Definition gBasePostProcess.h:15
Definition gFbo.h:15
Definition gPostProcessManager.h:36
void addEffect(gBasePostProcess *effect)
void setDimensions(int width, int height)
virtual ~gPostProcessManager()
Definition gRenderObject.h:25