You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Add ability to export VRAM usage as CSV
This commit is contained in:
committed by
Pedro J. Estébanez
parent
ed27b7e6b9
commit
5cb2cfe655
@@ -110,7 +110,8 @@ private:
|
||||
|
||||
EditorFileDialog *file_dialog;
|
||||
enum FileDialogMode {
|
||||
SAVE_CSV,
|
||||
SAVE_MONITORS_CSV,
|
||||
SAVE_VRAM_CSV,
|
||||
SAVE_NODE,
|
||||
};
|
||||
FileDialogMode file_dialog_mode;
|
||||
@@ -151,6 +152,7 @@ private:
|
||||
|
||||
Tree *vmem_tree;
|
||||
Button *vmem_refresh;
|
||||
Button *vmem_export;
|
||||
LineEdit *vmem_total;
|
||||
|
||||
Tree *stack_dump;
|
||||
@@ -196,6 +198,7 @@ private:
|
||||
int _update_scene_tree(TreeItem *parent, const Array &nodes, int current_index);
|
||||
|
||||
void _video_mem_request();
|
||||
void _video_mem_export();
|
||||
|
||||
int _get_node_path_cache(const NodePath &p_path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user