mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 13:44:58 +00:00
feat: Update LoadShaderPathsMap to use sdl3cpp::services::ShaderPaths for shader path management
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user