| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/DeviceProfiles/DeviceProfileManager.h |
Include |
#include "DeviceProfiles/DeviceProfileManager.h" |
class UDeviceProfileManager : public UObject
Implements a helper class that manages all profiles in the Device
Name | Description | ||
---|---|---|---|
|
void |
ChangeTaggedFragmentState ( |
Enable/Disable a tagged fragment of the active device profile. |
|
UDeviceProfi... |
CreateProfile |
Create a copy of a device profile from a copy. |
|
void |
DeleteProfile ( |
Delete a profile. |
|
bool |
DoActiveProfilesReference |
Examine the currently active or overridden profile for references to entries in DeviceProfilesToQuery |
|
UDeviceProfi... |
FindProfile ( |
Find a profile based on the name. |
|
GatherDeviceProfileCVars ( |
Walk the device profile/fragment chain to get the final set ot CVars in a unified way |
|
|
UDeviceProfi... |
Get ( |
|
|
const FSelec... |
GetActiveDeviceProfileFragmentByTag ( |
Return the selected fragment property from the currently active device profile. |
|
const FStrin... |
GetActiveDeviceProfileMatchedFragmentsString ( |
Get a string containing the current matched fragment list. |
|
const FStrin... |
GetActiveDeviceProfileName() |
Get the current active profile name. |
|
UDeviceProfi... |
GetActiveProfile() |
Get the selected device profile |
|
void |
GetAllPossibleParentProfiles ( |
Get a list of all possible parent profiles for a given device profile |
|
GetAllReferencedDeviceProfileCVars ( |
Gather all the cvars from the static device profile and then add all of the possible cvars+values from the dynamic/matched rule fragments. |
|
|
const FStrin... |
GetPlatformDeviceProfileName() |
Get the selected device profile name, either the platform name, or the name provided by a Device Profile Selector Module. |
|
UDeviceProfi... |
GetPreviewDeviceProfile() |
Get the currently previewing device profile. Can be null. |
|
void |
GetProfileConfigFiles |
Returns the config files for all loaded device profiles, this will include platform-specific ones |
|
bool |
GetScalabilityCVar ( |
Retrieves the value of a scalability group cvar if it was set by the active device profile. |
|
bool |
GetScalabilityCVar ( |
Retrieves the value of a scalability group cvar if it was set by the active device profile. |
|
bool |
HasLoadableProfileName |
Tests to see if a named device profile is available to call CreateProfile with. |
|
void |
InitializeCVarsForActiveDeviceProfile ( |
Startup and select the active device profile Then Init the CVars from this profile and it's Device profile parent tree. |
|
void |
LoadProfiles() |
Load the device profiles from the config file. |
|
FOnActiveDev... |
OnActiveDeviceProfileChanged() |
Returns a delegate that is invoked when the active device profile changes |
|
FOnDevicePro... |
OnManagerUpdated() |
Returns a delegate that is invoked when manager is updated. |
|
void |
ReapplyDeviceProfile ( |
Reapplies the device profile. |
|
void |
RestoreDefaultDeviceProfile() |
Restore the device profile to the default for this device |
|
void |
SaveProfiles ( |
Save the device profiles. |
|
void |
SetOverrideDeviceProfile ( |
Overrides the device profile. The original profile can be restored with RestoreDefaultDeviceProfile |
Name | Description | ||
---|---|---|---|
|
void |
PostCDOContruct() |
Called after the C++ constructor has run on the Class Default Object (CDO) for a class. |
Name |
Description |
|
---|---|---|
|
EDeviceProfileMode |
Name |
Description |
---|---|
BackupSuffix |
Add to profile to get load time backup. |
DeviceProfileManagerSingleton |
|
DeviceProfileScalabilityCVars |
Stores any scalability group settings set by the active device profile. |
PlatformFragmentsSelected |
The list of fragments that have been selected by the active profile. |
PushedSettings |
Original values of all the CVars modified by the DP. Used to undo the DP before applying new state. |
Name | Description | ||
---|---|---|---|
|
const FStrin... |
GetActiveProfileName() |
Use either GetActiveDeviceProfileName to have the current active device profile or GetPlatformDeviceProfileName to have the default one. Note, GetActiveDeviceProfileName will fallback on GetPlatformDeviceProfileName, if there is no active device profile |