// 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 { public: /** Singleton accessor */ static FLightingBuildInfoStatsPage& Get(); /** Begin IStatsPage interface */ virtual void Clear() override; virtual void AddEntry( UObject* InEntry ) override; virtual void Generate( TArray< TWeakObjectPtr >& OutObjects ) const override; virtual void GenerateTotals( const TArray< TWeakObjectPtr >& InObjects, TMap& 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 > Entries; };