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

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

Loading...
Searching...
No Matches
ecs_component_memory_t Struct Reference
C API » Addons » Stats

## Public Attributes
int32_t | instances
ecs_size_t | bytes_table_components
| Total number of component instances.
ecs_size_t | bytes_table_components_unused
| Bytes used by table columns.
ecs_size_t | bytes_toggle_bitsets
| Unused bytes in table columns.
ecs_size_t | bytes_sparse_components
| Bytes used in bitsets (toggled components).

## Detailed Description

Definition at line 513 of file stats.h.

## Member Data Documentation

## ◆ bytes_sparse_components

ecs_size_t ecs_component_memory_t::bytes_sparse_components

Bytes used in bitsets (toggled components).

Definition at line 518 of file stats.h.

## ◆ bytes_table_components

ecs_size_t ecs_component_memory_t::bytes_table_components

Total number of component instances.

Definition at line 515 of file stats.h.

## ◆ bytes_table_components_unused

ecs_size_t ecs_component_memory_t::bytes_table_components_unused

Bytes used by table columns.

Definition at line 516 of file stats.h.

## ◆ bytes_toggle_bitsets

ecs_size_t ecs_component_memory_t::bytes_toggle_bitsets

Unused bytes in table columns.

Definition at line 517 of file stats.h.

## ◆ instances

int32_t ecs_component_memory_t::instances

Definition at line 514 of file stats.h.

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

- include/flecs/addons/stats.h