Function init_builtin_components

Synopsis

#include <include/flecs/addons/cpp/world.hpp>

void init_builtin_components()

Description

No description yet.

Source

Lines 14-34 in include/flecs/addons/cpp/impl/world.hpp. Line 868 in include/flecs/addons/cpp/world.hpp.

inline void world::init_builtin_components() {
    component<Component>("flecs::core::Component");
    component<Identifier>("flecs::core::Identifier");
    component<Poly>("flecs::core::Poly");

#   ifdef FLECS_SYSTEM
    _::system_init(*this);
#   endif
#   ifdef FLECS_TIMER
    _::timer_init(*this);
#   endif
#   ifdef FLECS_DOC
    doc::_::init(*this);
#   endif
#   ifdef FLECS_REST
    rest::_::init(*this);
#   endif
#   ifdef FLECS_META
    meta::_::init(*this);
#   endif
}