Flecs v4.0
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 (uint16_t port=0)
 
app_builderenable_stats (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 19 of file builder.hpp.

Constructor & Destructor Documentation

◆ app_builder()

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

Definition at line 20 of file builder.hpp.

Member Function Documentation

◆ ctx()

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

Definition at line 68 of file builder.hpp.

◆ delta_time()

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

Definition at line 37 of file builder.hpp.

◆ enable_rest()

app_builder & flecs::app_builder::enable_rest ( uint16_t port = 0)
inline

Definition at line 52 of file builder.hpp.

◆ enable_stats()

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

Definition at line 58 of file builder.hpp.

◆ frames()

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

Definition at line 47 of file builder.hpp.

◆ init()

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

Definition at line 63 of file builder.hpp.

◆ run()

int flecs::app_builder::run ( )
inline

Definition at line 73 of file builder.hpp.

◆ target_fps()

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

Definition at line 32 of file builder.hpp.

◆ threads()

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

Definition at line 42 of file builder.hpp.


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