TDME2
1.9.121
src
tdme
engine
subsystems
postprocessing
PostProcessingShaderSSAOImplementation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
tdme/tdme.h
>
4
#include <
tdme/engine/fwd-tdme.h
>
5
#include <
tdme/engine/subsystems/postprocessing/fwd-tdme.h
>
6
#include <
tdme/engine/subsystems/postprocessing/PostProcessingShaderBaseImplementation.h
>
7
#include <
tdme/engine/subsystems/renderer/fwd-tdme.h
>
8
9
using
tdme::engine::subsystems::renderer::Renderer
;
10
using
tdme::engine::Engine
;
11
12
/**
13
* Post processing shader SSAO rendering implementation
14
* @author Andreas Drewke
15
* @version $Id$
16
*/
17
class
tdme::engine::subsystems::postprocessing::PostProcessingShaderSSAOImplementation
:
public
PostProcessingShaderBaseImplementation
18
{
19
public
:
20
/**
21
* Returns if shader is supported on given renderer
22
* @param renderer renderer
23
* @return if shader is supported
24
*/
25
static
bool
isSupported
(
Renderer
*
renderer
);
26
27
/**
28
* Public constructor
29
* @param renderer renderer
30
*/
31
PostProcessingShaderSSAOImplementation
(
Renderer
*
renderer
);
32
33
// overridden methods
34
virtual
void
initialize
()
override
;
35
virtual
void
setShaderParameters
(
int
contextIdx,
Engine
* engine)
override
;
36
37
};
PostProcessingShaderBaseImplementation.h
tdme::engine::Engine
Engine main class.
Definition:
Engine.h:122
tdme::engine::subsystems::postprocessing::PostProcessingShaderBaseImplementation
Post processing shader base implementation.
Definition:
PostProcessingShaderBaseImplementation.h:19
tdme::engine::subsystems::postprocessing::PostProcessingShaderBaseImplementation::renderer
Renderer * renderer
Definition:
PostProcessingShaderBaseImplementation.h:35
tdme::engine::subsystems::postprocessing::PostProcessingShaderSSAOImplementation
Post processing shader SSAO rendering implementation.
Definition:
PostProcessingShaderSSAOImplementation.h:18
tdme::engine::subsystems::postprocessing::PostProcessingShaderSSAOImplementation::setShaderParameters
virtual void setShaderParameters(int contextIdx, Engine *engine) override
Set shader parameters.
Definition:
PostProcessingShaderSSAOImplementation.cpp:56
tdme::engine::subsystems::postprocessing::PostProcessingShaderSSAOImplementation::initialize
virtual void initialize() override
Initialize post processing shader.
Definition:
PostProcessingShaderSSAOImplementation.cpp:23
tdme::engine::subsystems::postprocessing::PostProcessingShaderSSAOImplementation::isSupported
static bool isSupported(Renderer *renderer)
Returns if shader is supported on given renderer.
Definition:
PostProcessingShaderSSAOImplementation.cpp:15
tdme::engine::subsystems::postprocessing::PostProcessingShaderSSAOImplementation::PostProcessingShaderSSAOImplementation
PostProcessingShaderSSAOImplementation(Renderer *renderer)
Public constructor.
Definition:
PostProcessingShaderSSAOImplementation.cpp:19
tdme::engine::subsystems::renderer::Renderer
Renderer interface.
Definition:
Renderer.h:45
fwd-tdme.h
fwd-tdme.h
fwd-tdme.h
tdme.h
Generated by
1.9.3