Files
UnrealEngineUWP/Engine/Source/Editor/StatsViewer/Private/StatsPages/LightingBuildInfoStatsPage.h
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

36 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "StatsPage.h"
#include "LightingBuildInfo.h"
/** Stats page representing lighting build info */
class FLightingBuildInfoStatsPage : public FStatsPage<ULightingBuildInfo>
{
public:
/** Singleton accessor */
static FLightingBuildInfoStatsPage& Get();
/** Begin IStatsPage interface */
virtual void Clear() override;
virtual void AddEntry( UObject* InEntry ) override;
virtual void Generate( TArray< TWeakObjectPtr<UObject> >& OutObjects ) const override;
virtual void GenerateTotals( const TArray< TWeakObjectPtr<UObject> >& InObjects, TMap<FString, FText>& OutTotals ) const override;
/** End IStatsPage interface */
virtual ~FLightingBuildInfoStatsPage() {}
private:
/**
* The list of objects we will display. This stat entry differs from others in that the
* data it displays is not derived directly from the scene/assets, rather it is collected at
* build time and stored here
*/
TArray< TWeakObjectPtr<ULightingBuildInfo> > Entries;
};