Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
impl.hpp
Go to the documentation of this file.
1
6#pragma once
7
8namespace flecs {
9
10inline monitor::monitor(flecs::world& world) {
11 /* Import C module */
12 FlecsMonitorImport(world);
13
14 world.component<WorldSummary>();
15 world.component<WorldStats>();
16 world.component<PipelineStats>();
17}
18
19}
EcsWorldSummary WorldSummary
Component with world summary stats.
Definition decl.hpp:25
EcsPipelineStats PipelineStats
Component that stores system/pipeline statistics.
Definition decl.hpp:22
EcsWorldStats WorldStats
Component that stores world statistics.
Definition decl.hpp:19
flecs::component< T > component(Args &&... args) const
Find or register component.
The world.
Definition world.hpp:132