Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassCommandBuffer
Description
Removes any pending command instances This could be required for CommandBuffers that are queued to flush their commands on the game thread but the EntityManager is no longer available. In such scenario we need to cancel commands to avoid an ensure for unprocessed commands when the buffer gets destroyed.
| Name | CancelCommands |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommandBuffer.h |
| Include Path | #include "MassCommandBuffer.h" |
void CancelCommands()