RealtimeStyleTransferRuntime/Source/LyraGame/UI/Frontend/ApplyFrontendPerfSettingsAc...

35 lines
1.0 KiB
C
Raw Permalink Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFeatureAction.h"
2022-09-13 07:18:28 +00:00
#include "HAL/Platform.h"
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "ApplyFrontendPerfSettingsAction.generated.h"
2022-09-13 07:18:28 +00:00
class UObject;
struct FGameFeatureActivatingContext;
struct FGameFeatureDeactivatingContext;
2022-05-23 18:41:30 +00:00
//////////////////////////////////////////////////////////////////////
// UApplyFrontendPerfSettingsAction
/**
* GameFeatureAction responsible for telling the user settings to apply frontend/menu specific performance settings
*/
UCLASS(MinimalAPI, meta = (DisplayName = "Use Frontend Perf Settings"))
class UApplyFrontendPerfSettingsAction final : public UGameFeatureAction
{
GENERATED_BODY()
public:
//~UGameFeatureAction interface
virtual void OnGameFeatureActivating(FGameFeatureActivatingContext& Context) override;
virtual void OnGameFeatureDeactivating(FGameFeatureDeactivatingContext& Context) override;
//~End of UGameFeatureAction interface
private:
static int32 ApplicationCounter;
};