From c8329dc7601f87c3ce8dbc3ebbf51f08f371d9bb Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Sun, 4 Jan 2026 13:58:24 +0000 Subject: [PATCH] feat: Update LoadShaderPathsMap to use sdl3cpp::services::ShaderPaths for shader path management --- src/app/sdl3_app.hpp | 2 +- src/script/script_engine.hpp | 2 +- src/services/interfaces/i_script_service.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/sdl3_app.hpp b/src/app/sdl3_app.hpp index 156ab76..90152a2 100644 --- a/src/app/sdl3_app.hpp +++ b/src/app/sdl3_app.hpp @@ -131,7 +131,7 @@ private: script::ScriptEngine scriptEngine_; std::vector vertices_; std::vector indices_; - std::unordered_map shaderPathMap_; + std::unordered_map shaderPathMap_; std::unordered_map graphicsPipelines_; std::string defaultShaderKey_; VkFence inFlightFence_ = VK_NULL_HANDLE; diff --git a/src/script/script_engine.hpp b/src/script/script_engine.hpp index c557c09..2e6e905 100644 --- a/src/script/script_engine.hpp +++ b/src/script/script_engine.hpp @@ -35,7 +35,7 @@ public: std::vector LoadSceneObjects(); std::array ComputeModelMatrix(int functionRef, float time); std::array GetViewProjectionMatrix(float aspect); - std::unordered_map LoadShaderPathsMap(); + std::unordered_map LoadShaderPathsMap(); std::vector LoadGuiCommands(); void UpdateGuiInput(const GuiInputSnapshot& input); bool HasGuiCommands() const; diff --git a/src/services/interfaces/i_script_service.hpp b/src/services/interfaces/i_script_service.hpp index 592bdd5..dcc50ff 100644 --- a/src/services/interfaces/i_script_service.hpp +++ b/src/services/interfaces/i_script_service.hpp @@ -31,7 +31,7 @@ public: virtual std::array GetViewProjectionMatrix(float aspect) = 0; // Shader management - virtual std::unordered_map LoadShaderPathsMap() = 0; + virtual std::unordered_map LoadShaderPathsMap() = 0; // GUI management virtual std::vector LoadGuiCommands() = 0;