   How can I get the amount of free GPU memory in Directx10
  Hi,all:   How can I get the amount of free GPU memory in Directx10 (vista)? In directx 9, I can use the function IDirectDraw7::GetAvailableVidMem , but it can not work in Directx10 (vista). I know the IDXGIAdapter can tell the total video memory , but I focus on the "free" GPU memory.thanks!   
  You can’t as Direct3D 10 uses virtual video memory. Resources that don’t fit in the video memory anymore will be swapped to main memory.  As the main memory is virtual too resources could be swapped to disk as last fall back. Therefore you can create resources as long as you have address space. ;  Thank you,Demirug.Is there any way to calculate the amount of video memory consumed by an application?   ;Quote:Original post by xupwThank you,Demirug.Is there any way to calculate the amount of video memory consumed by an application?Track the memory manually. It's very easy to do, and it gives you a rough amount for memory budget management. An example of an open-source rendering engine that does so is    ;  Yes, it is a choice,if there is no such an API provided by operation system. But it is not precise enough.no matter what,thank you :p   