Rayview now uses the shader manager.
This commit is contained in:
parent
edee3ac0c9
commit
766b20f3f8
5 changed files with 14 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue