Cogs.Core
Public Attributes | List of all members
Cogs::Core::EntityData Struct Reference

Holds extra housekeeping data for an Entity instance. More...

#include <EntityStore.h>

Public Attributes

size_t templateId = 0
 Contains the hashed name of a template or entity definition (if any) used to create the instance.
 
ContextBaseentityContext = 0
 Pointer to the ContextBase the entity belongs to.
 
uint32_t flags = 0
 Entity behavior flags.
 

Detailed Description

Holds extra housekeeping data for an Entity instance.

Definition at line 23 of file EntityStore.h.

Member Data Documentation

◆ entityContext

ContextBase* Cogs::Core::EntityData::entityContext = 0

Pointer to the ContextBase the entity belongs to.

Definition at line 28 of file EntityStore.h.

◆ flags

uint32_t Cogs::Core::EntityData::flags = 0

Entity behavior flags.

Definition at line 30 of file EntityStore.h.

◆ templateId

size_t Cogs::Core::EntityData::templateId = 0

Contains the hashed name of a template or entity definition (if any) used to create the instance.

Definition at line 26 of file EntityStore.h.

Referenced by Cogs::Core::InstancedModelSystem::update().


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