From 789e648f4d5cf629240e8bcc7042322088a79949 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 6 Feb 2022 01:55:58 +0100 Subject: [Debugger] New extensible EngineProfiler class. Uses GDExtension, replaces old Callable system for profilers, and is also used internally. --- doc/classes/EngineDebugger.xml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'doc/classes/EngineDebugger.xml') diff --git a/doc/classes/EngineDebugger.xml b/doc/classes/EngineDebugger.xml index 861053b1c9..0e1bf99afc 100644 --- a/doc/classes/EngineDebugger.xml +++ b/doc/classes/EngineDebugger.xml @@ -65,14 +65,9 @@ - - - + - Registers a profiler with the given [code]name[/code]. - [code]toggle[/code] callable is called when the profiler is enabled/disabled. It must take an argument array as an argument. - [code]add[/code] callable is called when data is added to profiler using [method EngineDebugger.profiler_add_frame_data]. It must take a data array as argument. - [code]tick[/code] callable is called at every active profiler iteration. It must take frame time, idle time, physics time, and physics idle time as arguments. + Registers a profiler with the given [code]name[/code]. See [EngineProfiler] for more informations. -- cgit v1.2.3