Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Components

Registering and working with components. More...

Collaboration diagram for Components:

Classes

struct  flecs::untyped_component
 Untyped component class. More...
 
struct  flecs::component< T >
 Component class. More...
 

Functions

template<typename T , typename... Args>
flecs::component< T > flecs::world::component (Args &&... args) const
 Find or register component.
 
template<typename... Args>
flecs::untyped_component flecs::world::component (Args &&... args) const
 Find or register untyped component.
 

Detailed Description

Registering and working with components.

Function Documentation

◆ component()

template<typename... Args>
flecs::untyped_component component ( Args &&... args) const

Find or register untyped component.

Method available on flecs::world class.