diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-24 02:13:18 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-24 02:13:18 +0000 |
commit | 738754c684a1c2d736bae7940a52a9ee058e83e5 (patch) | |
tree | 1cb3e4e7da4caef32c13b8af39948e46dd11b27c /gfx/gl/sceneShader.h | |
parent | Merge remote-tracking branch 'origin/instanced-networks' (diff) | |
download | ilt-738754c684a1c2d736bae7940a52a9ee058e83e5.tar.bz2 ilt-738754c684a1c2d736bae7940a52a9ee058e83e5.tar.xz ilt-738754c684a1c2d736bae7940a52a9ee058e83e5.zip |
Single list of all shader programs
Pushes common stuff through a helper function
Diffstat (limited to 'gfx/gl/sceneShader.h')
-rw-r--r-- | gfx/gl/sceneShader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/gl/sceneShader.h b/gfx/gl/sceneShader.h index 8621442..07b0b26 100644 --- a/gfx/gl/sceneShader.h +++ b/gfx/gl/sceneShader.h @@ -71,4 +71,7 @@ public: void setViewProjection(const GlobalPosition3D & viewPoint, const glm::mat4 & viewProjection) const; void setViewPort(const ViewPort & viewPort) const; + +private: + inline void allPrograms(auto member, auto &&... ps) const; }; |