5/23/2023 0 Comments Create dxgi factory 2 download![]() I assumed that the mentioned function IDXGIAdapter3::QueryVideoMemoryInfo is part of Direct3D 12 interface, while it is actually part of DirectX Graphics Infrastructure (DXGI). If you code for Windows, there is a way to do this. ![]() In my GDC 2018 talk “Memory management in Vulkan and DX12” ( slides freely available, video behind GDC Vault paywall) I said that in Direct3D 12 you can query for the exact amount of GPU memory used and available, while in Vulkan there is no way to do that, so I recommend to just query for memory capacity ( VkMemoryHeap::size) and limit your usage to around 80% of it.
0 Comments
Leave a Reply. |