Module |
|
Header |
/Engine/Source/Runtime/ImageWriteQueue/Public/ImageWriteQueue.h |
Include |
#include "ImageWriteQueue.h" |
(thread-safe) Create a fence at the current position in the queue. The future and callback will be invoked when all existing tasks in the queue have been completed.
: Where the queue is empty, the future will be immediately fulfilled, and callback invoked on the next main thread tick.
A future that is fulfilled when the current state of the queue has been completely finished
Parameter |
Description |
---|---|
InOnFenceReached |
A callback to be invoked when the fence has been reached (ie all work ahead of it in the queue has been completed) |