![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Type class. More...
#include <type.hpp>
Public Member Functions | |
| type () | |
| Default constructor. | |
| type (world_t *world, const type_t *t) | |
| Construct a type from a world and C type pointer. | |
| flecs::string | str () const |
| Convert the type to a comma-separated string. | |
| int32_t | count () const |
| Return the number of IDs in the type. | |
| flecs::id_t * | array () const |
| Return a pointer to the ID array. | |
| flecs::id | get (int32_t index) const |
| Get the ID at a specified index in the type. | |
| const flecs::id_t * | begin () const |
| Get an iterator to the beginning of the type's ID array. | |
| const flecs::id_t * | end () const |
| Get an iterator to the end of the type's ID array. | |
| operator const type_t * () const | |
| Implicit conversion to type_t. | |
Type class.
A type is a vector of component IDs that can be requested from entities or tables.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |