SFML community forums
Bindings - other languages => DotNet => Topic started by: mtrx3 on June 26, 2018, 08:42:38 pm
-
After declaring a texture like this
Dim tex As Texture
Then typing
tex.
A intellisense message comes up that loadFromFile is not a member of Texture.
How can I correctly do this so I can include error checking code such as missing files and etc.
-
You have to use the constructor to load the path
Texture A = new Texture("./b.png")