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