Is Texture2D.Reload broken?

Hi ppl,

I tried to reload some of my textures, but it has no effect. I’m using DX on Windows 10 with monogame
Could it be that Reload is not implemented yet?


Hey Kai, what do you expect that method to do?

It didn’t exist in XNA and it’s not documented, but there’s a comment in the source code that explains it’s there to reload textures when the GL context is lost. It’s not implemented for DirectX.

If you want to change the image data, read from the stream and use Texture2D.SetData instead.

Can we not work on an implementation?

What for? What would you want or expect that method to do?

I expected that it reloads the data without creating a new reference. But the get/set Data works well too.