FTextureUpdateSyncOptions

Different options to schedule correctly the next tick in FTextureStreamIn.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Streaming/TextureMipDataProvider.h

Include

#include "Streaming/TextureMipDataProvider.h"

Syntax

struct FTextureUpdateSyncOptions

Remarks

Different options to schedule correctly the next tick in FTextureStreamIn. It allows the asset update logic to postpone the next tick until the effect of the last tick is completed. This helps for things like async operations.

If no sync options are used in the tick of either FTextureMipDataProvider or FTextureMipAllocator, the tick must at least advance to the next state through AdvanceTo() to prevent infinite loops.

Variables

Name Description

Public variable

bool *

 

bSnooze

A bool to tell whether the tick should be postponed by a small duration (undefined by design).

Public variable

FThreadSafeCoun...

 

Counter

A counter that will be incremented before doing an operation and then decremented once has completed.

Public variable

FCallback

 

RescheduleCallback

A callback to force a new tick on the relevant thread.

Typedefs

Name

Description

FCallback

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