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
12Self& set_doc_name(const char *name) {
13 ecs_doc_set_name(m_world, m_id, name);
14 return to_base();
15}
16
23Self& set_doc_brief(const char *brief) {
24 ecs_doc_set_brief(m_world, m_id, brief);
25 return to_base();
26}
27
34Self& set_doc_detail(const char *detail) {
35 ecs_doc_set_detail(m_world, m_id, detail);
36 return to_base();
37}
38
45Self& set_doc_link(const char *link) {
46 ecs_doc_set_link(m_world, m_id, link);
47 return to_base();
48}
49
56Self& set_doc_color(const char *link) {
57 ecs_doc_set_color(m_world, m_id, link);
58 return to_base();
59}
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 doc brief.
Self & set_doc_link(const char *link)
Set doc link.
Self & set_doc_color(const char *link)
Set doc color.
Self & set_doc_detail(const char *detail)
Set doc detailed description.
Self & set_doc_name(const char *name)
Set doc name.