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
13
class
gDynamicGrain
:
public
gBasePostProcess
{
14
public
:
15
gDynamicGrain
(
float
intensity = 0.35f,
float
speed = 0.02f);
16
virtual
~gDynamicGrain
();
17
18
void
use
();
19
20
protected
:
21
const
std::string
getVertSrc
();
22
const
std::string
getFragSrc
();
23
24
private
:
25
float
speed;
26
float
counter;
27
};
28
29
#endif
/* GRAPHICS_POSTEFFECTS_GDYNAMICGRAIN_H_ */
gBasePostProcess
Definition
gBasePostProcess.h:15
gDynamicGrain
Definition
gDynamicGrain.h:13
gDynamicGrain::gDynamicGrain
gDynamicGrain(float intensity=0.35f, float speed=0.02f)
gDynamicGrain::getVertSrc
const std::string getVertSrc()
gDynamicGrain::~gDynamicGrain
virtual ~gDynamicGrain()
gDynamicGrain::use
void use()
gDynamicGrain::getFragSrc
const std::string getFragSrc()
gBasePostProcess.h
engine
graphics
posteffects
gDynamicGrain.h
Generated by
1.9.8