UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::IoStore::FOnDemandContentHandle Class Reference

#include <IoStoreOnDemand.h>

Public Member Functions

UE_API FOnDemandContentHandle ()
 
UE_API ~FOnDemandContentHandle ()
 
void Reset ()
 
bool IsValid () const
 
bool operator== (FOnDemandContentHandle &Other) const
 

Static Public Member Functions

static UE_API FOnDemandContentHandle Create ()
 
static UE_API FOnDemandContentHandle Create (FSharedString DebugName)
 
static UE_API FOnDemandContentHandle Create (FStringView DebugName)
 

Friends

class FOnDemandIoStore
 
class FOnDemandContentInstaller
 
UE_API friend FString LexToString (const FOnDemandContentHandle &Handle)
 

Detailed Description

Keeps referenced data pinned in the cache until released.

Constructor & Destructor Documentation

◆ FOnDemandContentHandle()

UE::IoStore::FOnDemandContentHandle::FOnDemandContentHandle ( )

Creates a new invalid content handle.

◆ ~FOnDemandContentHandle()

UE::IoStore::FOnDemandContentHandle::~FOnDemandContentHandle ( )

Destroy the handle and release any referenced content.

Member Function Documentation

◆ Create() [1/3]

FOnDemandContentHandle UE::IoStore::FOnDemandContentHandle::Create ( )
static

Create a new content handle .

◆ Create() [2/3]

FOnDemandContentHandle UE::IoStore::FOnDemandContentHandle::Create ( FSharedString  DebugName)
static

Create a new content handle with a debug name.

◆ Create() [3/3]

FOnDemandContentHandle UE::IoStore::FOnDemandContentHandle::Create ( FStringView  DebugName)
static

Create a new content handle with a debug name.

◆ IsValid()

bool UE::IoStore::FOnDemandContentHandle::IsValid ( ) const
inline

Returns whether the handle is valid.

◆ operator==()

bool UE::IoStore::FOnDemandContentHandle::operator== ( FOnDemandContentHandle Other) const
inline

◆ Reset()

void UE::IoStore::FOnDemandContentHandle::Reset ( )
inline

Destroy the handle and release any referenced content.

Friends And Related Symbol Documentation

◆ FOnDemandContentInstaller

◆ FOnDemandIoStore

friend class FOnDemandIoStore
friend

◆ LexToString

UE_API friend FString LexToString ( const FOnDemandContentHandle Handle)
friend

Returns a string representing the content handle.


The documentation for this class was generated from the following files: