Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
entity_builder.inl
Go to the documentation of this file.
1
16Self& set_doc_name(const char *name) {
17 ecs_doc_set_name(m_world, m_id, name);
18 return to_base();
19}
20
31Self& set_doc_brief(const char *brief) {
32 ecs_doc_set_brief(m_world, m_id, brief);
33 return to_base();
34}
35
46Self& set_doc_detail(const char *detail) {
47 ecs_doc_set_detail(m_world, m_id, detail);
48 return to_base();
49}
50
61Self& set_doc_link(const char *link) {
62 ecs_doc_set_link(m_world, m_id, link);
63 return to_base();
64}
65
76Self& set_doc_color(const char *link) {
77 ecs_doc_set_color(m_world, m_id, link);
78 return to_base();
79}
FLECS_API void ecs_doc_set_brief(ecs_world_t *world, ecs_entity_t entity, const char *description)
Add brief description to entity.
FLECS_API void ecs_doc_set_detail(ecs_world_t *world, ecs_entity_t entity, const char *description)
Add detailed description to entity.
FLECS_API void ecs_doc_set_link(ecs_world_t *world, ecs_entity_t entity, const char *link)
Add link to external documentation to entity.
FLECS_API void ecs_doc_set_color(ecs_world_t *world, ecs_entity_t entity, const char *color)
Add color to entity.
FLECS_API void ecs_doc_set_name(ecs_world_t *world, ecs_entity_t entity, const char *name)
Add human-readable name to entity.
Self & set_doc_brief(const char *brief)
Set brief description.
Self & set_doc_link(const char *link)
Set link to external documentation.
Self & set_doc_color(const char *link)
Set doc color.
Self & set_doc_detail(const char *detail)
Set detailed description.
Self & set_doc_name(const char *name)
Set human readable name.