Files
UnrealEngineUWP/Engine/Source/Developer/Profiler/Private/Widgets/SEventGraphTooltip.h
ionut matasaru 1502e84e56 Disabled Profiler if STATS is not enabled (so Editor can compile also when ENABLE_STATNAMEDEVENTS is on).
#jira UE-140874
#fyi Brandon.Schaefer
#preflight 6201451e6773a3612898bddb
#rb none

[CL 18886574 by ionut matasaru in ue5-main branch]
2022-02-07 11:35:37 -05:00

29 lines
541 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#if STATS
#include "Layout/Visibility.h"
#include "ProfilerDataSource.h"
class SToolTip;
/**
* An advanced tooltip used to show various informations in the event graph widget.
*/
class SEventGraphTooltip
{
public:
static TSharedPtr<SToolTip> GetTableCellTooltip( const TSharedPtr<FEventGraphSample> EventSample );
protected:
static EVisibility GetHotPathIconVisibility(const TSharedPtr<FEventGraphSample> EventSample);
};
#endif // STATS