Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_delete_empty_tables_desc_t Struct Reference
C API » Core » World » Misc

Used with ecs_delete_empty_tables(). More...

#include <flecs.h>

Public Attributes

uint16_t clear_generation
 Free table data when generation > clear_generation.
 
uint16_t delete_generation
 Delete table when generation > delete_generation.
 
double time_budget_seconds
 Amount of time operation is allowed to spend.
 
int32_t offset
 Table index to start scanning at.
 

Detailed Description

Used with ecs_delete_empty_tables().

Definition at line 2756 of file flecs.h.

Member Data Documentation

◆ clear_generation

uint16_t ecs_delete_empty_tables_desc_t::clear_generation

Free table data when generation > clear_generation.

Definition at line 2758 of file flecs.h.

◆ delete_generation

uint16_t ecs_delete_empty_tables_desc_t::delete_generation

Delete table when generation > delete_generation.

Definition at line 2761 of file flecs.h.

◆ offset

int32_t ecs_delete_empty_tables_desc_t::offset

Table index to start scanning at.

The function loops around until it reaches this offset again, or until the time budget is exceeded.

Definition at line 2768 of file flecs.h.

◆ time_budget_seconds

double ecs_delete_empty_tables_desc_t::time_budget_seconds

Amount of time operation is allowed to spend.

Definition at line 2764 of file flecs.h.


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