![]() |
Raven Engine v0.1
|
Metadata about a type. More...
#include <TypeData.h>
Static Public Member Functions | |
| template<typename T> | |
| static TypeData | Create () |
| Static method to create TypeData for a specific type. | |
Public Attributes | |
| std::string | m_Name {} |
| The name of the type. | |
| u32 | m_Size {} |
| The size of the type in bytes. | |
| u32 | m_Align {} |
| The alignment of the type in bytes. | |
| std::vector< VariableData > | m_MemberVars {} |
Metadata about a type.
Stores essential information about a type, such as its name, size, and alignment. This structure helps in the engine's type reflection system and is used to associate metadata with the unique TypeIDs for various types.
|
inlinestatic |
| u32 Raven::TypeData::m_Align {} |
The alignment of the type in bytes.
| std::vector<VariableData> Raven::TypeData::m_MemberVars {} |
| std::string Raven::TypeData::m_Name {} |
The name of the type.
| u32 Raven::TypeData::m_Size {} |
The size of the type in bytes.