Flecs
v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
world.inl
Go to the documentation of this file.
1
14
flecs::cursor
cursor
(flecs::entity_t tid,
void
*ptr) {
15
return
flecs::cursor
(world_, tid, ptr);
16
}
17
19
template
<
typename
T>
20
flecs::cursor
cursor
(
void
*ptr) {
21
flecs::entity_t tid =
_::type<T>::id
(world_);
22
return
cursor
(tid, ptr);
23
}
24
26
flecs::entity
primitive
(
flecs::meta::primitive_kind_t
kind);
27
29
flecs::entity
array
(flecs::entity_t elem_id, int32_t array_count);
30
32
template
<
typename
T>
33
flecs::entity
array
(int32_t array_count);
34
36
flecs::entity
vector
(flecs::entity_t elem_id);
37
39
template
<
typename
T>
40
flecs::entity
vector
();
41
ecs_primitive_kind_t
ecs_primitive_kind_t
Primitive type kinds supported by meta addon.
Definition
meta.h:172
flecs::world::primitive
flecs::entity primitive(flecs::meta::primitive_kind_t kind)
Create primitive type.
flecs::world::array
flecs::entity array(flecs::entity_t elem_id, int32_t array_count)
Create array type.
flecs::world::array
flecs::entity array(int32_t array_count)
Create array type.
flecs::world::vector
flecs::entity vector(flecs::entity_t elem_id)
Create vector type.
flecs::world::cursor
flecs::cursor cursor(flecs::entity_t tid, void *ptr)
Return meta cursor to value.
Definition
world.inl:14
flecs::world::vector
flecs::entity vector()
Create vector type.
flecs::world::cursor
flecs::cursor cursor(void *ptr)
Return meta cursor to value.
Definition
world.inl:20
flecs::_::type
Definition
flecs.hpp:38
flecs::cursor
Class for reading/writing dynamic values.
Definition
cursor.hpp:22
flecs::entity
Entity.
Definition
entity.hpp:30