Hymn to Beauty
C++ 3D Engine
RenderProgram.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glm/glm.hpp>
4
5namespace Video {
6class Texture2D;
7class ShaderProgram;
8class StorageBuffer;
9namespace Geometry {
10class Geometry3D;
11}
12
15 public:
18
20 virtual ~RenderProgram();
21
23
26 void SetGamma(float gamma);
27
29
32 float GetGamma() const;
33
34 protected:
35 float gamma = 2.2f;
36};
37} // namespace Video
Super class render program.
Definition: RenderProgram.hpp:14
void SetGamma(float gamma)
Gamma correction.
Definition: RenderProgram.cpp:9
float gamma
Definition: RenderProgram.hpp:35
virtual ~RenderProgram()
Destructor.
Definition: RenderProgram.cpp:7
RenderProgram()
Constructor.
Definition: RenderProgram.cpp:5
float GetGamma() const
Gamma correction.
Definition: RenderProgram.cpp:13
Definition: AssetEditor.hpp:5
Definition: Editor.hpp:18