Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TCircularQueue > API/Runtime/Core/Containers/TCircularQueue/Enqueue
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/CircularQueue.h |
| Include | #include "Containers/CircularQueue.h" |
bool Enqueue
(
const FElementType & Element
)
Remarks
Adds an item to the end of the queue.
To be called only from producer thread. true if the item was added, false if the queue was full.
Parameters
| Name | Description |
|---|---|
| Element | The element to add. |