ezEngine  Release 25.03
ezGameObjectId Struct Reference

Internal game object id used by ezGameObjectHandle. More...

#include <Declarations.h>

Public Types

using StorageType = ezUInt64
 

Public Member Functions

 EZ_DECLARE_ID_TYPE (ezGameObjectId, 32, 8)
 
EZ_FORCE_INLINE ezGameObjectId (StorageType instanceIndex, ezUInt8 uiGeneration, 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
 
   } 
 
}; 
 

Detailed Description

Internal game object id used by ezGameObjectHandle.


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