Dx11 - flush?

I’ve built a patch that’s pretty heavy on the gpu and I’m running out of gpu memory. It seems memory used by buffers etc is not clearing if they’re disabled and sometimes even deleted.

Do I need to flush the gpu? If so how can I do this?

i’ve seen similar problems with DX9. I had to switch in a new texture through the renderer and DXTexture node for it to clear the memory. I would just use Dynamic Texture 1x1 in size. Similar might work with DX11.

Use something like GPU-Z to see the memory clearing.

In Info (DX11), you can bang Clean unused resources from time to time.

Nice one thanks guys