![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PlatformFileManager.h>
Static Public Member Functions | |
| static CORE_API FPlatformFileManager & | Get () |
Platform File chain manager.
| FPlatformFileManager::FPlatformFileManager | ( | ) |
Constructor.
| IPlatformFile * FPlatformFileManager::FindPlatformFile | ( | const TCHAR * | Name | ) |
Finds a platform file in the chain of active platform files.
| Name | of the platform file. |
|
static |
Gets FPlatformFileManager Singleton.
| IPlatformFile & FPlatformFileManager::GetPlatformFile | ( | ) |
Gets the currently used platform file.
| IPlatformFile * FPlatformFileManager::GetPlatformFile | ( | const TCHAR * | Name | ) |
Creates a new platform file instance.
| Name | of the platform file to create. |
| CORE_API IPlatformFile & FPlatformFileManager::GetPlatformPhysical | ( | ) |
| void FPlatformFileManager::InitializeNewAsyncIO | ( | ) |
Performs additional initialization when the new async IO is enabled.
| bool FPlatformFileManager::InsertPlatformFile | ( | IPlatformFile * | NewPlatformFile | ) |
Inserts a new platform file into the platform file wrapper chain. The file is inserted before NewPlatformFile->GetLowerLevel().
THIS IS EXTREMELY DANGEROUS AFTER THE ENGINE HAS BEEN INITIALIZED AS WE MAY BE MODIFYING THE WRAPPER CHAIN WHILE THINGS ARE BEING LOADED
| The | platform file to insert. |
| void FPlatformFileManager::RemovePlatformFile | ( | IPlatformFile * | PlatformFileToRemove | ) |
Removes the specified file wrapper from the platform file wrapper chain.
THIS IS EXTREMELY DANGEROUS AFTER THE ENGINE HAS BEEN INITIALIZED AS WE MAY BE MODIFYING THE WRAPPER CHAIN WHILE THINGS ARE BEING LOADED
| The | platform file to remove. |
| void FPlatformFileManager::SetPlatformFile | ( | IPlatformFile & | NewTopmostPlatformFile | ) |
Sets the current platform file.
| NewTopmostPlatformFile | Platform file to be used. |
| void FPlatformFileManager::SetPlatformPhysical | ( | IPlatformFile & | NewPhysicalPlatformFile | ) |
| void FPlatformFileManager::TickActivePlatformFile | ( | ) |
calls Tick on the platform files in the TopmostPlatformFile chain