From 738754c684a1c2d736bae7940a52a9ee058e83e5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 24 Jan 2024 02:13:18 +0000 Subject: Single list of all shader programs Pushes common stuff through a helper function --- gfx/gl/sceneShader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gfx/gl/sceneShader.h') 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; }; -- cgit v1.2.3