3 #include <Engine/RaEngine.hpp>
10 #include <Core/Utils/Singleton.hpp>
11 #include <Core/Utils/StdOptional.hpp>
23 class ShaderConfiguration;
57 Core::Utils::optional<const Data::ShaderProgram*>
79 void reloadAllShaderPrograms();
85 void reloadNotCompiledShaderPrograms();
95 bool addNamedString(
const std::string& includepath,
const std::string& realfile );
101 void reloadNamedString();
105 const std::shared_ptr<Data::ShaderProgram>& shader );
108 std::map<std::string, Data::ShaderConfiguration> m_shaderProgramIds;
109 std::map<Data::ShaderConfiguration, std::shared_ptr<Data::ShaderProgram>> m_shaderPrograms;
110 std::vector<Data::ShaderConfiguration> m_shaderFailedConfs;
112 std::map<std::string,
113 std::pair<std::unique_ptr<globjects::File>, std::unique_ptr<globjects::NamedString>>>