Debug Draw 3D (and 2D) 1.3.0
Draw 3D debug graphics and 2D overlays with this add-on.
Loading...
Searching...
No Matches
DebugDraw3DStats Class Reference

You can get statistics about 3D rendering from this class. More...

#include <stats_3d.h>

Inheritance diagram for DebugDraw3DStats:

Protected Member Functions

 DEFINE_DEFAULT_PROP (instances, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (lines, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (instances_physics, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (lines_physics, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (total_geometry, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (visible_instances, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (visible_lines, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (visible_instances_physics, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (visible_lines_physics, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (total_visible, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (time_filling_buffers_instances_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (time_filling_buffers_lines_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (time_filling_buffers_instances_physics_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (time_filling_buffers_lines_physics_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (total_time_filling_buffers_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (time_culling_instant_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (time_culling_delayed_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (time_culling_instant_physics_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (time_culling_delayed_physics_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (total_time_culling_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (total_time_spent_usec, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (created_scoped_configs, int64_t, 0)
 
 DEFINE_DEFAULT_PROP (orphan_scoped_configs, int64_t, 0)
 

Detailed Description

You can get statistics about 3D rendering from this class.

All names try to reflect what they mean.

To get an instance of this class with current statistics, use DebugDraw3D.get_render_stats.

instances lets you know how many instances have been created.

instances_physics reports how many instances were created inside _physics_process.

total_time_spent_usec reports the time in microseconds spent to process everything and display the geometry on the screen.


The documentation for this class was generated from the following file: