TDME2 1.9.121
PostProcessingShaderDefaultImplementation.h
Go to the documentation of this file.
1#pragma once
2
3#include <tdme/tdme.h>
8
11
12/**
13 * Post processing shader default implementation
14 * @author Andreas Drewke
15 * @version $Id$
16 */
18{
19public:
20 /**
21 * Returns if shader is supported on given renderer
22 * @param renderer renderer
23 * @return if shader is supported
24 */
25 static bool isSupported(Renderer* renderer);
26
27 /**
28 * Public constructor
29 * @param renderer renderer
30 */
32
33 // overridden methods
34 virtual void initialize() override;
35 virtual void setShaderParameters(int contextIdx, Engine* engine) override;
36
37};
Engine main class.
Definition: Engine.h:122
virtual void setShaderParameters(int contextIdx, Engine *engine) override
Set shader parameters.
static bool isSupported(Renderer *renderer)
Returns if shader is supported on given renderer.