CommitPoint.ixx File
Defines commit points for synchronization within the game loop. More...
Included Headers
#include <cstdint>
#include <utility>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | runtime |
| namespace | gameloop |
Description
Defines commit points for synchronization within the game loop.
File Listing
The file content with the documentation metadata removed is:
13export namespace helios::engine::runtime::gameloop {
35 enum class CommitPoint : uint8_t {
40 None = 0,
49 PassEvents = 1 << 0,
56 FlushCommands = 1 << 1,
64 FlushManagers = 1 << 2,
72 Structural = PassEvents | FlushCommands | FlushManagers
83 CommitPoint constexpr operator &(CommitPoint a, CommitPoint b) noexcept {
84 return static_cast<CommitPoint>(std::to_underlying(a) & std::to_underlying(b));
95 CommitPoint constexpr operator |(CommitPoint a, CommitPoint b) noexcept {
96 return static_cast<CommitPoint>(std::to_underlying(a) | std::to_underlying(b));
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.