Skip to main content

CommitPoint.ixx File

Defines commit points for synchronization within the game loop. More...

Included Headers

#include <cstdint> #include <utility>

Namespaces Index

namespacehelios
namespaceengine
namespaceruntime
namespacegameloop

Description

Defines commit points for synchronization within the game loop.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <cstdint>
8#include <utility>
9
10export module helios.engine.runtime.gameloop:CommitPoint;
11
12
14
35 enum class CommitPoint : uint8_t {
36
40 None = 0,
41
49 PassEvents = 1 << 0,
50
56 FlushCommands = 1 << 1,
57
64 FlushManagers = 1 << 2,
65
73 };
74
84 return static_cast<CommitPoint>(std::to_underlying(a) & std::to_underlying(b));
85 }
86
96 return static_cast<CommitPoint>(std::to_underlying(a) | std::to_underlying(b));
97 }
98
99
100}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.