16 lines
675 B
GDScript
16 lines
675 B
GDScript
extends CanvasLayer
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
$VBoxContainer/Fps.text = "FPS: " + str(Performance.get_monitor(Performance.TIME_FPS))
|
|
$VBoxContainer/Frametime.text = "FrameTime: " + str(Engine.get_physics_interpolation_fraction())
|
|
$VBoxContainer/PT.text = "Process time: "+ str(Performance.get_monitor(Performance.TIME_PROCESS))
|
|
$VBoxContainer/VideoMemory.text ="Video memory Used: " + str(Performance.get_monitor(Performance.RENDER_VIDEO_MEM_USED))
|
|
pass
|