I can create a window, draw shapes and lines etc to it, but haven't been able to load textures. I'm using C#, .net framework 4.6.2 with Visual Studio 2017.
When I create a texture, I can't call texture.loadFromFile(path) as it's shown in the tutorials.
If there's something I missed in the documentation or tutorials, please direct me to it. Thank you in advance.
Edit: Got it thanks to user Laurent.
Texture texture = new Texture(path);