mirror of
https://github.com/Insality/druid
synced 2025-06-27 02:17:52 +02:00
1.9 KiB
1.9 KiB
druid.widget.memory_panel API
at /druid/widget/memory_panel/memory_panel.lua
Functions
Fields
- root
- delta_time
- samples_count
- memory_limit
- mini_graph
- max_value
- text_per_second
- text_memory
- memory
- memory_samples
- timer_id
init
memory_panel:init()
on_remove
memory_panel:on_remove()
set_low_memory_limit
memory_panel:set_low_memory_limit([limit])
- Parameters:
[limit]
(any):
push_next_value
memory_panel:push_next_value()
update_text_memory
memory_panel:update_text_memory()
Fields
- root (node)
- delta_time (number)
- samples_count (integer)
- memory_limit (integer)
- mini_graph (druid.widget.mini_graph): Widget to display a several lines with different height in a row
- max_value (druid.text): Basic Druid text component. Text components by default have the text size adjusting.
- text_per_second (druid.text): Basic Druid text component. Text components by default have the text size adjusting.
- text_memory (druid.text): Basic Druid text component. Text components by default have the text size adjusting.
- memory (unknown)
- memory_samples (table)
- timer_id (unknown)