TDME2 1.9.121
ShadowMapRenderShaderTreeImplementation.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include <tdme/tdme.h>
9
10using std::string;
11
15
16/**
17 * Shadow mapping tree shader to render shadow map
18 * @author Andreas Drewke
19 * @version $Id$
20 */
22{
23private:
24 int32_t uniformSpeed { -1 };
25
26public:
27 /**
28 * @return if supported by renderer
29 * @param renderer renderer
30 */
31 static bool isSupported(Renderer* renderer);
32
33 /**
34 * Public constructor
35 * @param renderer renderer
36 */
38
39 /**
40 * Destructor
41 */
43
44 // overridden methods
45 virtual const string getId() override;
46 virtual void initialize() override;
47 virtual void updateShaderParameters(Renderer* renderer, int contextIdx) override;
48
49};
virtual void updateShaderParameters(Renderer *renderer, int contextIdx) override
Update shader parameters.