Add various engine systems to debug commands

This commit is contained in:
Wojtek Figat
2024-10-24 19:35:24 +02:00
parent e324d32769
commit 302fc2feb1
10 changed files with 16 additions and 12 deletions

View File

@@ -132,12 +132,12 @@ public:
/// <summary>
/// True if GPU profiling is enabled, otherwise false to disable events collecting and GPU timer queries usage. Can be changed during rendering.
/// </summary>
API_FIELD() static bool Enabled;
API_FIELD(Attributes="DebugCommand") static bool Enabled;
/// <summary>
/// True if GPU events are enabled (see GPUContext::EventBegin), otherwise false. Cannot be changed during rendering.
/// </summary>
API_FIELD() static bool EventsEnabled;
API_FIELD(Attributes="DebugCommand") static bool EventsEnabled;
/// <summary>
/// The current frame buffer to collect events.

View File

@@ -127,7 +127,7 @@ public:
/// <summary>
/// Controls the engine profiler (CPU, GPU, etc.) usage.
/// </summary>
API_PROPERTY() static bool GetEnabled();
API_PROPERTY(Attributes="DebugCommand") static bool GetEnabled();
/// <summary>
/// Controls the engine profiler (CPU, GPU, etc.) usage.