TDME2 1.9.121
DeferredLightingShaderTreeImplementation.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{
20private:
21 int32_t uniformSpeed { -1 };
22
23public:
24 /**
25 * Public constructor
26 * @param renderer renderer
27 */
29
30 /**
31 * @return if supported by renderer
32 * @param renderer renderer
33 */
34 static bool isSupported(Renderer* renderer);
35
36 // overridden methods
37 virtual const string getId() override;
38 virtual void initialize() override;
39 virtual void registerShader() override;
40 virtual void updateShaderParameters(Renderer* renderer, int contextIdx) override;
41
42};
virtual void updateShaderParameters(Renderer *renderer, int contextIdx) override
Update shader parameters.