ezEngine  Milestone 7
ezComponentId Struct Reference

Internal component id used by ezComponentHandle. More...

#include <Declarations.h>

Inheritance diagram for ezComponentId:

Public Member Functions

EZ_FORCE_INLINE ezComponentId (StorageType instanceIndex, StorageType generation, ezUInt16 typeId=0)
 
EZ_FORCE_INLINE ezComponentId (ezGenericComponentId genericId, ezUInt16 typeId)
 
- Public Member Functions inherited from ezGenericId< 24, 8 >
 EZ_DECLARE_ID_TYPE (ezGenericId, InstanceIndexBits, GenerationBits)
 
EZ_FORCE_INLINE ezGenericId (StorageType instanceIndex, StorageType generation)
 

Public Attributes

ezUInt16 m_TypeId
 
- Public Attributes inherited from ezGenericId< 24, 8 >
union {
StorageType m_Data
 
   struct {
StorageType m_InstanceIndex: InstanceIndexBits
 
StorageType m_Generation: GenerationBits
 
   } 
 
}; 
 

Additional Inherited Members

- Public Types inherited from ezGenericId< 24, 8 >
enum  
 
typedef ezSizeToType
< STORAGE_SIZE >::Type 
StorageType
 

Detailed Description

Internal component id used by ezComponentHandle.

Member Data Documentation

ezUInt16 ezComponentId::m_TypeId
Todo:
ezComponentHandle becomes 8 (6 + padding) bytes large due to this. Was that intended?

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