Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IFileCacheHandle
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IFileCacheHandle * CreateFileCacheHandle
(
const TCHAR* InFileName, |
Create a IFileCacheHandle from a filename. | FileCache/FileCache.h | |
static IFileCacheHandle * CreateFileCacheHandle
(
IAsyncReadFileHandle* FileHandle, |
Create a IFileCacheHandle from a IAsyncReadFileHandle. | FileCache/FileCache.h |
CreateFileCacheHandle(const TCHAR *, int64)
Description
Create a IFileCacheHandle from a filename.
| Name | CreateFileCacheHandle |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/FileCache/FileCache.h |
| Include Path | #include "FileCache/FileCache.h" |
| Source | /Engine/Source/Runtime/Core/Private/FileCache/FileCache.cpp |
static IFileCacheHandle * CreateFileCacheHandle
(
const TCHAR * InFileName,
int64 InBaseOffset
)
A IFileCacheHandle that can be used to make read requests. This will be a nullptr if the target file can not be accessed for any given reason.
Parameters
| Name | Remarks |
|---|---|
| InFileName | A path to a file. |
CreateFileCacheHandle(IAsyncReadFileHandle *, int64)
Description
Create a IFileCacheHandle from a IAsyncReadFileHandle.
| Name | CreateFileCacheHandle |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/FileCache/FileCache.h |
| Include Path | #include "FileCache/FileCache.h" |
| Source | /Engine/Source/Runtime/Core/Private/FileCache/FileCache.cpp |
static IFileCacheHandle * CreateFileCacheHandle
(
IAsyncReadFileHandle * FileHandle,
int64 InBaseOffset
)
A IFileCacheHandle that can be used to make read requests. This will be a nullptr if the FileHandle was not valid.
Parameters
| Name | Remarks |
|---|---|
| FileHandle | A valid IAsyncReadFileHandle that has already been created elsewhere. |