TDME2 1.9.121
ShadowMapRenderShaderDefaultImplementation.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 default shader to render shadow map
18 * @author Andreas Drewke
19 * @version $Id$
20 */
22{
23public:
24 /**
25 * @return if supported by renderer
26 * @param renderer renderer
27 */
28 static bool isSupported(Renderer* renderer);
29
30 /**
31 * Public constructor
32 * @param renderer renderer
33 */
35
36 /**
37 * Destructor
38 */
40
41 // overridden methods
42 virtual const string getId() override;
43 virtual void initialize() override;
44 virtual void updateShaderParameters(Renderer* renderer, int contextIdx) override;
45
46};
virtual void updateShaderParameters(Renderer *renderer, int contextIdx) override
Update shader parameters.