Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/RenderAssetUpdate.h |
Include |
#include "RenderAssetUpdate.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Streaming/RenderAssetUpdate.inl |
void PushTask
(
const FContext & Context,
EThreadType InTaskThread,
const FCallback & InTaskCallback,
EThreadType InCancelationThread,
const FCallback & InCancelationCallback
)
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.
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). |