TRenderAssetUpdate::PushTask

Defines the next step to be executed.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/RenderAssetUpdate.h

Include

#include "RenderAssetUpdate.h"

Source

/Engine/Source/Runtime/Engine/Private/Streaming/RenderAssetUpdate.inl

Syntax

void PushTask
(
    const FContext & Context,
    EThreadType InTaskThread,
    const FCallback & InTaskCallback,
    EThreadType InCancelationThread,
    const FCallback & InCancelationCallback
)

Remarks

Defines the next step to be executed. The next step will be executed by calling the callback on the specified thread. The callback (for both success and cancelation) will only be executed if TaskSynchronization reaches 0. If all requirements are immediately satisfied when calling the PushTask the relevant callback will be called immediately.

Parameters

Parameter

Description

Context

The context defining which texture is being updated and on which thread this is being called.

InTaskThread

The thread on which to call the next step of the update, being TaskCallback.

InTaskCallback

The callback that will perform the next step of the update.

InCancelationThread

The thread on which to call the cancellation of the update (only if the update gets cancelled).

InCancelationCallback

The callback handling the cancellation of the update (only if the update gets cancelled).

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