Just looking over the asset SFML manager on Git and wondering the following.
// Loads Shader into a map
m_shaders.load(Shaders::Shockwave, "../resources/shader/shockwave.vert", "../resources/shader/shockwave.frag");
// x = shader in the map
sf::Shader &x = m_shaders.get(Shaders::Shockwave);
If I had a shader created in my .h file how do I go about adding the shader stored in my map to the shader I created ?
Or is it better to ignore an assest manager for shaders and just loadFromFile ?