Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
ComponentSerializerRegistry::Registration Struct Reference

Links a component name to its serialization and deserialization functions. More...

#include <ComponentSerializerRegistry.hpp>

Public Attributes

std::string componentName
 String identifier of the component type.
SerializerCallback serialize
 Function to serialize the component.
DeserializerCallback deserialize
 Function to deserialize the component.

Detailed Description

Links a component name to its serialization and deserialization functions.

Member Data Documentation

◆ componentName

std::string ComponentSerializerRegistry::Registration::componentName

String identifier of the component type.

◆ deserialize

DeserializerCallback ComponentSerializerRegistry::Registration::deserialize

Function to deserialize the component.

◆ serialize

SerializerCallback ComponentSerializerRegistry::Registration::serialize

Function to serialize the component.


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