Plasma Engine  2.0
Loading...
Searching...
No Matches
plComponentId Struct Reference

Internal component id used by plComponentHandle. More...

#include <Declarations.h>

Public Types

using StorageType = plUInt64
 

Public Member Functions

 PL_DECLARE_ID_TYPE (plComponentId, 32, 8)
 
PL_ALWAYS_INLINE plComponentId (StorageType instanceIndex, plUInt8 uiGeneration, plUInt16 uiTypeId=0, plUInt8 uiWorldIndex=0)
 

Public Attributes

union { 
 
   StorageType   m_Data 
 
   struct { 
 
      StorageType   m_InstanceIndex: 32 
 
      StorageType   m_Generation: 8 
 
      StorageType   m_WorldIndex: PL_WORLD_INDEX_BITS 
 
      StorageType   m_TypeId: PL_COMPONENT_TYPE_INDEX_BITS 
 
   }  
 
};  
 

Detailed Description

Internal component id used by plComponentHandle.


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