|
co_ecs 0.9.0
Cobalt ECS
|
This class manages command buffers and facilitates command execution. More...
#include <command.hpp>
Static Public Member Functions | |
| static auto | get () -> command_buffer & |
| Retrieves the thread-local command buffer instance. | |
| static void | flush (registry ®istry) |
| Flushes all commands in the command buffers to the given registry. | |
Friends | |
| class | command_writer |
| class | command_entity_ref |
This class manages command buffers and facilitates command execution.
Command buffer manages a list of commands to be executed on the registry. It has a thread local container for encoding incomming commands as well as a storage used as a temporary staging buffer that holds associated data (like entity components)
|
inlinestatic |
Flushes all commands in the command buffers to the given registry.
| registry | Reference to the registry object to synchronize with. |
|
inlinestatic |
Retrieves the thread-local command buffer instance.
|
friend |
|
friend |