summaryrefslogtreecommitdiffstats
path: root/src/RenderConfigs.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-27 15:03:36 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-27 15:03:36 +0100
commit7f3ed11618df0cce5c3d799e0b3f4c009714f2c3 (patch)
tree8827c3ba45b52cdda6524df70ce58c8ca1c55e79 /src/RenderConfigs.hpp
parentAdded PostProcess class (diff)
downloadAltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar
AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.gz
AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.bz2
AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.lz
AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.xz
AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.zst
AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.zip
Diffstat (limited to 'src/RenderConfigs.hpp')
-rw-r--r--src/RenderConfigs.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/RenderConfigs.hpp b/src/RenderConfigs.hpp
index 793dbb2..a9d6c00 100644
--- a/src/RenderConfigs.hpp
+++ b/src/RenderConfigs.hpp
@@ -2,6 +2,10 @@
#include "Gal.hpp"
+struct GlobalShaderParameters {
+ glm::mat4 projView;
+};
+
std::shared_ptr<Gal::Shader> LoadVertexShader(std::string_view assetPath);
std::shared_ptr<Gal::Shader> LoadPixelShader(std::string_view assetPath);