ezEngine  Release 25.03
ezComponentId Struct Reference

Internal component id used by ezComponentHandle. More...

#include <Declarations.h>

Public Types

using StorageType = ezUInt64
 

Public Member Functions

 EZ_DECLARE_ID_TYPE (ezComponentId, 32, 8)
 
EZ_ALWAYS_INLINE ezComponentId (StorageType instanceIndex, ezUInt8 uiGeneration, ezUInt16 uiTypeId=0, ezUInt8 uiWorldIndex=0)
 

Public Attributes

union {
   StorageType   m_Data
 
   struct {
      StorageType   m_InstanceIndex: 32
 
      StorageType   m_Generation: 8
 
      StorageType   m_WorldIndex: EZ_WORLD_INDEX_BITS
 
      StorageType   m_TypeId: EZ_COMPONENT_TYPE_INDEX_BITS
 
   } 
 
}; 
 

Detailed Description

Internal component id used by ezComponentHandle.


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