TDME2 1.9.121
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PostProcessingShaderDesaturationImplementation.h
Go to the documentation of this file.
1#pragma once
2
3#include <tdme/tdme.h>
8
11
12/**
13 * Post processing shader desaturation implementation
14 * @author Andreas Drewke
15 * @version $Id$
16 */
18{
19private:
20 int32_t uniformIntensity { -1 };
21
22public:
23 /**
24 * Returns if shader is supported on given renderer
25 * @param renderer renderer
26 * @return if shader is supported
27 */
28 static bool isSupported(Renderer* renderer);
29
30 /**
31 * Public constructor
32 * @param renderer renderer
33 */
35
36 // overridden methods
37 virtual void initialize() override;
38 virtual void setShaderParameters(int contextIdx, Engine* engine) override;
39
40};
Engine main class.
Definition: Engine.h:122
static bool isSupported(Renderer *renderer)
Returns if shader is supported on given renderer.