UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DebugGarbageCollectionGraph.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Engine/Canvas.h"
7#include <vector>
8
9#include "DebugGarbageCollectionGraph.generated.h"
10
11UCLASS()
13{
15
16public:
17 void StartDrawing();
18 void StopDrawing();
19
21
22private:
23 void Draw(UCanvas* Canvas, class APlayerController* PC);
24
25 struct HistoryItem
26 {
27 double Time;
28 double Duration;
29 };
30 std::vector<HistoryItem> History = {
31 {0, 0}
32 };
33
34 FDelegateHandle DrawHandle;
35};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition PlayerController.h:261
Definition IDelegateInstance.h:14
Definition Canvas.h:159
Definition DebugGarbageCollectionGraph.h:13
static int32 SafeDurationThreshold
Definition DebugGarbageCollectionGraph.h:20
Definition Object.h:95