Debug Draw 3D 1.7.1
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:

Public Member Functions

NAPI int64_t get_instances () const
NAPI int64_t get_lines () const
NAPI int64_t get_instances_physics () const
NAPI int64_t get_lines_physics () const
NAPI int64_t get_total_geometry () const
NAPI int64_t get_visible_instances () const
NAPI int64_t get_visible_lines () const
NAPI int64_t get_total_visible () const
NAPI int64_t get_time_filling_buffers_instances_usec () const
NAPI int64_t get_time_filling_buffers_lines_usec () const
NAPI int64_t get_time_filling_buffers_instances_physics_usec () const
NAPI int64_t get_time_filling_buffers_lines_physics_usec () const
NAPI int64_t get_total_time_filling_buffers_usec () const
NAPI int64_t get_time_culling_instances_usec () const
NAPI int64_t get_time_culling_lines_usec () const
NAPI int64_t get_total_time_culling_usec () const
NAPI int64_t get_total_time_spent_usec () const
NAPI int64_t get_created_scoped_configs () const
NAPI int64_t get_orphan_scoped_configs () const
NAPI int64_t get_nodes_label3d_visible () const
NAPI int64_t get_nodes_label3d_visible_physics () const
NAPI int64_t get_nodes_label3d_exists () const
NAPI int64_t get_nodes_label3d_exists_physics () const
NAPI int64_t get_nodes_label3d_exists_total () const

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: