Add new GPU Query API that is lightweight and supports occlusion queries

This commit is contained in:
Wojtek Figat
2026-01-16 10:40:30 +01:00
parent d2d7a871ce
commit 9ac231c403
31 changed files with 829 additions and 254 deletions

View File

@@ -144,6 +144,11 @@ void GPUDeviceNull::WaitForGPU()
{
}
bool GPUDeviceNull::GetQueryResult(uint64 queryID, uint64& result, bool wait)
{
return false;
}
GPUTexture* GPUDeviceNull::CreateTexture(const StringView& name)
{
PROFILE_MEM(GraphicsTextures);