Function app_builder

Synopsis

#include <include/flecs/addons/cpp/mixins/app/builder.hpp>

app_builder(flecs::world_t *world)

Description

No description yet.

Source

Lines 7-16 in include/flecs/addons/cpp/mixins/app/builder.hpp.

app_builder(flecs::world_t *world)
    : m_world(world)
    , m_desc{}
{
    const ecs_world_info_t *stats = ecs_get_world_info(world);
    m_desc.target_fps = stats->target_fps;
    if (m_desc.target_fps == static_cast<ecs_ftime_t>(0.0)) {
        m_desc.target_fps = 60;
    }
}