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

Used with ecs_component_init(). More...

#include <flecs.h>

Public Attributes

int32_t _canary
 Used for validity testing.
 
ecs_entity_t entity
 Existing entity to associate with observer (optional)
 
ecs_type_info_t type
 Parameters for type (size, hooks, ...)
 

Detailed Description

Used with ecs_component_init().

Definition at line 1052 of file flecs.h.

Member Data Documentation

◆ _canary

int32_t ecs_component_desc_t::_canary

Used for validity testing.

Must be 0.

Definition at line 1053 of file flecs.h.

◆ entity

ecs_entity_t ecs_component_desc_t::entity

Existing entity to associate with observer (optional)

Definition at line 1056 of file flecs.h.

◆ type

ecs_type_info_t ecs_component_desc_t::type

Parameters for type (size, hooks, ...)

Definition at line 1059 of file flecs.h.


The documentation for this struct was generated from the following file: