Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::ecs::SparseSetBase::AuditCopy Struct Reference

What the audit kept of a pool: its entities and their components' bytes, as they were at tick. More...

#include <SparseSet.hpp>

Public Attributes

std::vector< Entity > entities
std::vector< u8 > bytes
 a trivially copyable component's bytes
std::shared_ptr< void > values
 otherwise a copy of the components, compared with ==
u32 tick = 0

Detailed Description

What the audit kept of a pool: its entities and their components' bytes, as they were at tick.

Definition at line 144 of file SparseSet.hpp.

Member Data Documentation

◆ bytes

std::vector<u8> esengine::ecs::SparseSetBase::AuditCopy::bytes

a trivially copyable component's bytes

Definition at line 146 of file SparseSet.hpp.

Referenced by esengine::ecs::SparseSet< T >::auditCompare(), and esengine::ecs::SparseSet< T >::auditKeep().

◆ entities

std::vector<Entity> esengine::ecs::SparseSetBase::AuditCopy::entities

◆ tick

u32 esengine::ecs::SparseSetBase::AuditCopy::tick = 0

◆ values

std::shared_ptr<void> esengine::ecs::SparseSetBase::AuditCopy::values

otherwise a copy of the components, compared with ==

Definition at line 147 of file SparseSet.hpp.

Referenced by esengine::ecs::SparseSet< T >::auditCompare(), and esengine::ecs::SparseSet< T >::auditKeep().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/ecs/SparseSet.hpp