Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::app_builder Struct Reference

App builder interface. More...

#include <builder.hpp>

Public Member Functions

 app_builder (flecs::world_t *world)
 
app_buildertarget_fps (ecs_ftime_t value)
 
app_builderdelta_time (ecs_ftime_t value)
 
app_builderthreads (int32_t value)
 
app_builderframes (int32_t value)
 
app_builderenable_rest (bool value=true)
 
app_builderenable_monitor (bool value=true)
 
app_builderinit (ecs_app_init_action_t value)
 
app_builderctx (void *value)
 
int run ()
 

Detailed Description

App builder interface.

Definition at line 18 of file builder.hpp.

Constructor & Destructor Documentation

◆ app_builder()

flecs::app_builder::app_builder ( flecs::world_t *  world)
inline

Definition at line 19 of file builder.hpp.

Member Function Documentation

◆ ctx()

app_builder & flecs::app_builder::ctx ( void *  value)
inline

Definition at line 65 of file builder.hpp.

◆ delta_time()

app_builder & flecs::app_builder::delta_time ( ecs_ftime_t  value)
inline

Definition at line 35 of file builder.hpp.

◆ enable_monitor()

app_builder & flecs::app_builder::enable_monitor ( bool  value = true)
inline

Definition at line 55 of file builder.hpp.

◆ enable_rest()

app_builder & flecs::app_builder::enable_rest ( bool  value = true)
inline

Definition at line 50 of file builder.hpp.

◆ frames()

app_builder & flecs::app_builder::frames ( int32_t  value)
inline

Definition at line 45 of file builder.hpp.

◆ init()

app_builder & flecs::app_builder::init ( ecs_app_init_action_t  value)
inline

Definition at line 60 of file builder.hpp.

◆ run()

int flecs::app_builder::run ( )
inline

Definition at line 70 of file builder.hpp.

◆ target_fps()

app_builder & flecs::app_builder::target_fps ( ecs_ftime_t  value)
inline

Definition at line 30 of file builder.hpp.

◆ threads()

app_builder & flecs::app_builder::threads ( int32_t  value)
inline

Definition at line 40 of file builder.hpp.


The documentation for this struct was generated from the following file: