Blender V5.3
info_stats.cc File Reference
#include <cstdio>
#include <cstring>
#include <fmt/format.h>
#include "MEM_guardedalloc.h"
#include "DNA_armature_types.h"
#include "DNA_curve_types.h"
#include "DNA_grease_pencil_types.h"
#include "DNA_lattice_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meta_types.h"
#include "DNA_pointcloud_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_enums.h"
#include "DNA_windowmanager_types.h"
#include "BLF_api.hh"
#include "BLI_array_utils.hh"
#include "BLI_enum_flags.hh"
#include "BLI_listbase.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_set.hh"
#include "BLI_span.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BLI_timecode.hh"
#include "BLT_translation.hh"
#include "BKE_action.hh"
#include "BKE_armature.hh"
#include "BKE_blender_version.h"
#include "BKE_curve.hh"
#include "BKE_curves.hh"
#include "BKE_editmesh.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_key.hh"
#include "BKE_layer.hh"
#include "BKE_main.hh"
#include "BKE_mesh.hh"
#include "BKE_object.hh"
#include "BKE_paint.hh"
#include "BKE_paint_bvh.hh"
#include "BKE_scene.hh"
#include "BKE_subdiv_ccg.hh"
#include "BKE_subdiv_modifier.hh"
#include "DEG_depsgraph_query.hh"
#include "ED_info.hh"
#include "WM_api.hh"
#include "GPU_capabilities.hh"

Go to the source code of this file.

Classes

struct  blender::SceneStats
struct  blender::SceneStatsFmt

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define SCENE_STATS_FMT_INT(_id)

Functions

static bool blender::stats_mesheval (const Mesh *mesh_eval, bool is_selected, SceneStats *stats)
static void blender::stats_object (Object *ob, const View3D *v3d_local, SceneStats *stats, Set< const Mesh * > &objects_gset)
static void blender::stats_object_edit (Object *obedit, SceneStats *stats)
static void blender::stats_object_pose (const Object *ob, SceneStats *stats)
static bool blender::stats_is_object_dynamic_topology_sculpt (const Object *ob)
static void blender::stats_object_mesh_paint (const Object *ob, SceneStats *stats)
static void blender::stats_update (const Main *bmain, Depsgraph *depsgraph, const Scene *scene, ViewLayer *view_layer, View3D *v3d_local, SceneStats *stats)
void blender::ED_info_stats_clear (wmWindowManager *wm, ViewLayer *view_layer)
void blender::ED_view3d_local_stats_free (View3D *v3d)
static bool blender::format_stats (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d_local, SceneStatsFmt *stats_fmt)
static void blender::get_stats_string (char *info, int len, size_t *ofs, const Main &bmain, const Scene *scene, ViewLayer *view_layer, SceneStatsFmt *stats_fmt)
const char * blender::ED_info_statusbar_string_ex (Main *bmain, Scene *scene, ViewLayer *view_layer, const char statusbar_flag)
const char * blender::ED_info_statusbar_string (Main *bmain, Scene *scene, ViewLayer *view_layer)
const char * blender::ED_info_statistics_string (Main *bmain, Scene *scene, ViewLayer *view_layer)
static void blender::stats_row (int col1, const char *key, int col2, const char *value1, const char *value2, int *y, int height)
void blender::ED_info_draw_stats (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d_local, int x, int *y, int height)

Macro Definition Documentation

◆ SCENE_STATS_FMT_INT

#define SCENE_STATS_FMT_INT ( _id)
Value:
BLI_str_format_uint64_grouped(stats_fmt->_id, stats->_id)

Referenced by blender::format_stats().