Macros | |
| #define | ecs_field(it, T, index) |
| Get field data for a component. | |
| #define | ecs_base_field(it, T, index) |
| Get field data for a component matched through component inheritance. | |
| #define | ecs_field_self(it, T, index) |
| Get field data for a self-owned component. | |
| #define | ecs_field_at(it, T, index, row) |
| Get field data at a specific row. | |
| #define ecs_base_field | ( | it, | |
| T, | |||
| index ) |
Get field data for a component matched through component inheritance.
Use this instead of ecs_field() when a field is matched on a component that is derived from the queried (base) type. The data must be iterated with the stride returned by ecs_field_stride().
| #define ecs_field | ( | it, | |
| T, | |||
| index ) |
Get field data for a component.
| #define ecs_field_at | ( | it, | |
| T, | |||
| index, | |||
| row ) |
Get field data at a specific row.