Easys
A minimalist, header-only C++ ECS library for efficient and fuss-free entity and component management.
Loading...
Searching...
No Matches
Macros
config.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EASYS_ENTITY_TYPE   uint32_t
 Defines the underlying data type for an Entity ID.
 
#define EASYS_ENTITY_LIMIT   10000
 Defines the maximum number of entities allowed in the ECS.
 

Macro Definition Documentation

◆ EASYS_ENTITY_LIMIT

#define EASYS_ENTITY_LIMIT   10000

Defines the maximum number of entities allowed in the ECS.

This sets the limit for the total number of concurrent entities. It can be overridden by the user to adjust memory usage and capacity. Defaults to 10000.

◆ EASYS_ENTITY_TYPE

#define EASYS_ENTITY_TYPE   uint32_t

Defines the underlying data type for an Entity ID.

This can be overridden by the user to use a different integer type, for example, uint64_t for a larger entity count. Defaults to uint32_t.