ezEngine  Milestone 9
ezComponentId Struct Reference

Internal component id used by ezComponentHandle. More...

#include <Declarations.h>

Inheritance diagram for ezComponentId:

Public Member Functions

EZ_ALWAYS_INLINE ezComponentId (StorageType instanceIndex, StorageType generation, ezUInt16 typeId=0, ezUInt16 worldIndex=0)
 
EZ_ALWAYS_INLINE ezComponentId (ezGenericComponentId genericId, ezUInt16 typeId, ezUInt16 worldIndex)
 
EZ_ALWAYS_INLINE bool operator== (const ezComponentId other) const
 
EZ_ALWAYS_INLINE bool operator!= (const ezComponentId other) const
 
EZ_ALWAYS_INLINE bool operator< (const ezComponentId other) const
 
- Public Member Functions inherited from ezGenericId< 24, 8 >
 EZ_DECLARE_ID_TYPE (ezGenericId, InstanceIndexBits, GenerationBits)
 
EZ_ALWAYS_INLINE ezGenericId (StorageType instanceIndex, StorageType generation)
 

Public Attributes

ezUInt16 m_TypeId
 
ezUInt16 m_WorldIndex
 
- Public Attributes inherited from ezGenericId< 24, 8 >
StorageType m_Data
 
StorageType m_InstanceIndex
 
StorageType m_Generation
 
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.


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