feat: Update LoadShaderPathsMap to use sdl3cpp::services::ShaderPaths for shader path management

This commit is contained in:
2026-01-04 13:58:24 +00:00
parent caf8d5402f
commit c8329dc760
3 changed files with 3 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ private:
script::ScriptEngine scriptEngine_;
std::vector<core::Vertex> vertices_;
std::vector<uint16_t> indices_;
std::unordered_map<std::string, script::ShaderManager::ShaderPaths> shaderPathMap_;
std::unordered_map<std::string, sdl3cpp::services::ShaderPaths> shaderPathMap_;
std::unordered_map<std::string, VkPipeline> graphicsPipelines_;
std::string defaultShaderKey_;
VkFence inFlightFence_ = VK_NULL_HANDLE;

View File

@@ -35,7 +35,7 @@ public:
std::vector<SceneManager::SceneObject> LoadSceneObjects();
std::array<float, 16> ComputeModelMatrix(int functionRef, float time);
std::array<float, 16> GetViewProjectionMatrix(float aspect);
std::unordered_map<std::string, ShaderManager::ShaderPaths> LoadShaderPathsMap();
std::unordered_map<std::string, sdl3cpp::services::ShaderPaths> LoadShaderPathsMap();
std::vector<GuiCommand> LoadGuiCommands();
void UpdateGuiInput(const GuiInputSnapshot& input);
bool HasGuiCommands() const;

View File

@@ -31,7 +31,7 @@ public:
virtual std::array<float, 16> GetViewProjectionMatrix(float aspect) = 0;
// Shader management
virtual std::unordered_map<std::string, script::ShaderManager::ShaderPaths> LoadShaderPathsMap() = 0;
virtual std::unordered_map<std::string, sdl3cpp::services::ShaderPaths> LoadShaderPathsMap() = 0;
// GUI management
virtual std::vector<script::GuiCommand> LoadGuiCommands() = 0;