Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
command_buffer_fwd.h
1#pragma once
2
3namespace gaia {
4 namespace ecs {
5 class World;
6
7 namespace detail {
8 template <typename AccessContext>
9 class CommandBuffer;
10 }
11 struct AccessContextST;
12 struct AccessContextMT;
13 using CommandBufferST = detail::CommandBuffer<AccessContextST>;
14 using CommandBufferMT = detail::CommandBuffer<AccessContextMT>;
15
16 CommandBufferST* cmd_buffer_st_create(World& world);
17 void cmd_buffer_destroy(CommandBufferST& cmdBuffer);
18 void cmd_buffer_commit(CommandBufferST& cmdBuffer);
19
20 CommandBufferMT* cmd_buffer_mt_create(World& world);
21 void cmd_buffer_destroy(CommandBufferMT& cmdBuffer);
22 void cmd_buffer_commit(CommandBufferMT& cmdBuffer);
23 } // namespace ecs
24} // namespace gaia
Checks if endianess was detected correctly at compile-time.
Definition bitset.h:9