IFileCacheHandle::CreateFileCacheHandle

Create a [IFileCacheHandle](API\Runtime\Core\FileCache\IFileCacheHandle) from a filename.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/FileCache/FileCache.h

Include

#include "FileCache/FileCache.h"

Source

/Engine/Source/Runtime/Core/Private/FileCache/FileCache.cpp

Syntax

static IFileCacheHandle * CreateFileCacheHandle
(
    const TCHAR * InFileName
)

Remarks

Create a IFileCacheHandle from a filename.

Returns

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

Parameter

Description

InFileName

A path to a file.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss