Rayview now uses the shader manager.

This commit is contained in:
Zed A. Shaw 2025-04-13 22:31:13 -04:00
parent edee3ac0c9
commit 766b20f3f8
5 changed files with 14 additions and 11 deletions

View file

@ -19,6 +19,7 @@ namespace shaders {
std::unordered_map<std::string, Record> shaders;
};
std::shared_ptr<sf::Shader> get_shared(std::string& name);
void init();
bool load_shader(std::string& name, nlohmann::json& settings);
sf::Shader* get(std::string name);