DirectX 9 had IDirect3DDevice9::GetAvailableTextureMem()
which gives an estimate. I cannot readily find the equivalent in DirectX 11.
I found DXGI_ADAPTER_DESC.DedicatedVideoMemory
which gives me the total, but what Iād like in addition to that is the amount currently used (or currently free) in a quick and efficient manner.
There must be a way as Windows Task Manager has a GPU memory usage graph on the Performance tab.
Any pointer?
I could not find any method or field in the documentation.