GlistEngine
Loading...
Searching...
No Matches
gTiltShift.h
Go to the documentation of this file.
1
/*
2
* gTiltShift.h
3
*
4
* Created on: 19 Tem 2023
5
* Author: Batuhan Yigit
6
*/
7
8
#ifndef GRAPHICS_POSTEFFECTS_GTILTSHIFT_H_
9
#define GRAPHICS_POSTEFFECTS_GTILTSHIFT_H_
10
11
#include "
gBasePostProcess.h
"
12
13
class
gTiltShift
:
public
gBasePostProcess
{
14
public
:
15
gTiltShift
(
float
upperheight,
float
lowerheight,
float
softness = 0.5f);
16
virtual
~gTiltShift
();
17
18
void
use
();
19
20
protected
:
21
const
std::string
getVertSrc
();
22
const
std::string
getFragSrc
();
23
};
24
25
#endif
/* GRAPHICS_POSTEFFECTS_GTILTSHIFT_H_ */
gBasePostProcess
Definition
gBasePostProcess.h:15
gTiltShift
Definition
gTiltShift.h:13
gTiltShift::getVertSrc
const std::string getVertSrc()
gTiltShift::~gTiltShift
virtual ~gTiltShift()
gTiltShift::gTiltShift
gTiltShift(float upperheight, float lowerheight, float softness=0.5f)
gTiltShift::use
void use()
gTiltShift::getFragSrc
const std::string getFragSrc()
gBasePostProcess.h
engine
graphics
posteffects
gTiltShift.h
Generated by
1.9.8