GlistEngine
Loading...
Searching...
No Matches
gDynamicGrain.h
Go to the documentation of this file.
1/*
2 * gDynamicGrain.h
3 *
4 * Created on: 11 Tem 2023
5 * Author: Batuhan Yigit
6 */
7
8#ifndef GRAPHICS_POSTEFFECTS_GDYNAMICGRAIN_H_
9#define GRAPHICS_POSTEFFECTS_GDYNAMICGRAIN_H_
10
11#include "gBasePostProcess.h"
12
14public:
15 gDynamicGrain(float intensity = 0.35f, float speed = 0.02f);
16 virtual ~gDynamicGrain();
17
18 void use();
19
20protected:
21 const std::string getVertSrc();
22 const std::string getFragSrc();
23
24private:
25 float speed;
26 float counter;
27};
28
29#endif /* GRAPHICS_POSTEFFECTS_GDYNAMICGRAIN_H_ */
Definition gBasePostProcess.h:15
Definition gDynamicGrain.h:13
gDynamicGrain(float intensity=0.35f, float speed=0.02f)
const std::string getVertSrc()
virtual ~gDynamicGrain()
const std::string getFragSrc()