Monitoring video card memory used by unreal through C++

Hi

I have been benchmarking my unreal game with the stat command for some time. I didn’t find how to get the video card memory used by the game so I used the excellent GPU-Z.

But now, I need to get this value inside my program, with C++. I come close by counting the loaded data (textures size =~ vram used by those texture once loaded). But it would be much better if there was a function for this.

Is there one ?