| IPlatformFile::OpenRead()
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Lumin/LuminPlatformFile.h |
Include |
#include "Lumin/LuminPlatformFile.h" |
Source |
/Engine/Source/Runtime/Core/Private/Lumin/LuminPlatformFile.cpp |
virtual IFileHandle * OpenRead
(
const TCHAR * Filename,
bool bAllowWrite
)
Attempt to open a file for reading.
If successful will return a non-nullptr pointer. Close the file by delete'ing the handle.
Parameter |
Description |
---|---|
Filename |
file to be opened |
bAllowWrite |
(applies to certain platforms only) whether this file is allowed to be written to by other processes. This flag is needed to open files that are currently being written to as well. |