Hi,
I tried to find my answer through search but can't find exactly what I'm after just yet.
I'm wondering if sfml will load a texture multiple times if I have multiple different object instances that call the load function, asking for the same texture? Or will it detect that it has already been loaded and use the same texture? If not, then I assume loading the same texture multiple times is not the most optimal solution.
Given this scenario, would it be a good idea to create a sprite manager class, load all textures I need on game start, encapsulate them in sprites, store them, and then assign them to these object instances?
Thanks in advance.