|
| 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 (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_instances_usec, int64_t, 0) |
|
| DEFINE_DEFAULT_PROP (time_culling_lines_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) |
|
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.