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

Metadata describing where a component id is stored in a table. More...

#include <flecs.h>

Public Attributes

ecs_table_cache_hdr_t hdr
 Table cache header.
 
int16_t index
 First type index where id occurs in table.
 
int16_t count
 Number of times id occurs in table.
 
int16_t column
 First column index where id occurs.
 

Detailed Description

Metadata describing where a component id is stored in a table.

This type is used as element type for the component index table cache. One record exists per table/component in the table. Only records for wildcard ids can have a count > 1.

Definition at line 513 of file flecs.h.

Member Data Documentation

◆ column

int16_t ecs_table_record_t::column

First column index where id occurs.

Definition at line 517 of file flecs.h.

◆ count

int16_t ecs_table_record_t::count

Number of times id occurs in table.

Definition at line 516 of file flecs.h.

◆ hdr

ecs_table_cache_hdr_t ecs_table_record_t::hdr

Table cache header.

Definition at line 514 of file flecs.h.

◆ index

int16_t ecs_table_record_t::index

First type index where id occurs in table.

Definition at line 515 of file flecs.h.


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