UStreamableRenderAsset::RegisterMipLevelChangeCallback

Register a callback to get notified when a certain mip or LOD is resident or evicted.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StreamableRenderAsset.h

Include

#include "Engine/StreamableRenderAsset.h"

Source

/Engine/Source/Runtime/Engine/Private/StreamableRenderAsset.cpp

Syntax

void RegisterMipLevelChangeCallback
(
    UPrimitiveComponent * Component,
    int32 LODIdx,
    float TimeoutSecs,
    bool bOnStreamIn,
    FLODStreamingCallback && Callback
)

Remarks

Register a callback to get notified when a certain mip or LOD is resident or evicted.

Parameters

Parameter

Description

Component

The context component

LODIdx

The mip or LOD level to wait for

TimeoutSecs

Timeout in seconds

bOnStreamIn

Whether to get notified when the specified level is resident or evicted

Callback

The callback to call

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