summaryrefslogtreecommitdiffstats
path: root/core/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-08-29 12:56:53 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-08-29 12:57:37 +0200
commiteb56d1d1eb6ba3fbf3cc45f603d893d8963d74f5 (patch)
tree056183aed685273bc1690bcfbb82b0145183d5e9 /core/core_bind.h
parent583c0c4897ca7ba669ab78d397fc894b718613ce (diff)
downloadredot-engine-eb56d1d1eb6ba3fbf3cc45f603d893d8963d74f5.tar.gz
Drop obsolete resource usage debug methods from OS class
These methods exist since the dawn of (open source) Godot and have hardly been updated over time, so they barely work and I'm fairly sure nobody is using them. (See #46505 for details.) While some of the functionality they aimed to provide might be useful for optimization work and introspection, this should likely be redesigned from scratch with a cleaner and more modern interface (e.g. exposed via the Performance singleton, or ResourceLoader, and a better API overall).
Diffstat (limited to 'core/core_bind.h')
-rw-r--r--core/core_bind.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/core_bind.h b/core/core_bind.h
index 642a0c00c7..cd382d2915 100644
--- a/core/core_bind.h
+++ b/core/core_bind.h
@@ -201,13 +201,6 @@ public:
String get_model_name() const;
- void dump_resources_to_file(const String &p_file);
-
- void print_resources_in_use(bool p_short = false);
- void print_all_resources(const String &p_to_file);
- void print_all_textures_by_size();
- void print_resources_by_type(const Vector<String> &p_types);
-
bool is_debug_build() const;
String get_unique_id() const;