Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Entity.hpp File Reference
#include <cstdint>
#include <bitset>
#include <limits>
#include <functional>

Go to the source code of this file.

Classes

class  Entity
 Lightweight identifier representing a game object in the Entity Component System. More...

Typedefs

using ComponentMask = std::bitset<MAX_COMPONENTS>
 Bitmask representing component registration status.

Variables

constexpr std::size_t MAX_COMPONENTS = 64
 Maximum number of supported component types in the ECS.

Typedef Documentation

◆ ComponentMask

using ComponentMask = std::bitset<MAX_COMPONENTS>

Bitmask representing component registration status.

Variable Documentation

◆ MAX_COMPONENTS

std::size_t MAX_COMPONENTS = 64
constexpr

Maximum number of supported component types in the ECS.