You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#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]
36 lines
1.0 KiB
C++
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;
|
|
|
|
};
|
|
|