Flecs: ecs_table_record_t Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
Public Attributes | List of all members
ecs_table_record_t Struct Reference
C API » Core » API types » Core API Types

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 511 of file flecs.h.

## Member Data Documentation

## ◆ column

int16_t ecs_table_record_t::column

First column index where id occurs.

Definition at line 515 of file flecs.h.

## ◆ count

int16_t ecs_table_record_t::count

Number of times id occurs in table.

Definition at line 514 of file flecs.h.

## ◆ hdr

ecs_table_cache_hdr_t ecs_table_record_t::hdr

Table cache header.

Definition at line 512 of file flecs.h.

## ◆ index

int16_t ecs_table_record_t::index

First type index where id occurs in table.

Definition at line 513 of file flecs.h.

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

- include/flecs.h