TDME2 1.9.121
DeferredLightingShaderDefaultImplementation.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include <tdme/tdme.h>
9
12
13/**
14 * Lighting shader implementation
15 * @author Andreas Drewke
16 * @version $Id$
17 */
19{
20public:
21 /**
22 * @return if supported by renderer
23 * @param renderer renderer
24 */
25 static bool isSupported(Renderer* renderer);
26
27 /**
28 * Public constructor
29 * @param renderer renderer
30 */
32
33 // overridden methods
34 virtual const string getId() override;
35 virtual void initialize() override;
36 virtual void registerShader() override;
37 virtual void updateShaderParameters(Renderer* renderer, int contextIdx) override;
38
39
40};
virtual void updateShaderParameters(Renderer *renderer, int contextIdx) override
Update shader parameters.