From db6b98ecd1396f0d8c93b90296e67784eaa49f2b Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 16 Oct 2023 10:29:44 +0200 Subject: [PATCH] Add `ProfilerGPU.Enabled` to manually toggle GPU timings --- Source/Engine/Profiler/ProfilerGPU.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Profiler/ProfilerGPU.h b/Source/Engine/Profiler/ProfilerGPU.h index 29392b7a5..fa2c72ab0 100644 --- a/Source/Engine/Profiler/ProfilerGPU.h +++ b/Source/Engine/Profiler/ProfilerGPU.h @@ -125,7 +125,7 @@ public: /// /// True if GPU profiling is enabled, otherwise false to disable events collecting and GPU timer queries usage. Can be changed during rendering. /// - static bool Enabled; + API_FIELD() static bool Enabled; /// /// The current frame buffer to collect events.