Download

How to change the texture Filter from C++ without calling UpdateResource

Is there a way to change the Filter of a texture (nearest, linear…) without having to recreate the entire resource?

I am working with UCanvasRenderTarget2D and the only way I found to apply a change to the Filter is a call to UpdateResource:


canvas->Filter = TF_Nearest;
canvas->UpdateResource();