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