IFileCacheHandle::CreateFileCacheHandle

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

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
(
    IAsyncReadFileHandle * FileHandle
)

Remarks

Returns

A IFileCacheHandle that can be used to make read requests. This will be a nullptr if the FileHandle was not valid.

Parameters

Parameter

Description

FileHandle

A valid IAsyncReadFileHandle that has already been created elsewhere.

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