Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::GlmSerialize Class Reference

#include <GlmSerialize.h>

Classes

class  QuaternionSerial
class  VectorSerial

Static Public Member Functions

static void Serialize (nlohmann::json &archive, const glm::vec3 &vector)
static void Serialize (nlohmann::json &archive, glm::mat4 matrix)
static void Serialize (nlohmann::json &archive, glm::quat quaternion)
static void deserialize (nlohmann::json &archive, glm::vec3 &vector)
static void deserialize (nlohmann::json &archive, glm::mat4 &matrix)
static void deserialize (nlohmann::json &archive, glm::quat &quaternion)

Detailed Description

Definition at line 7 of file GlmSerialize.h.

Member Function Documentation

◆ deserialize() [1/3]

void EngineCore::GlmSerialize::deserialize ( nlohmann::json & archive,
glm::mat4 & matrix )
static

Definition at line 32 of file GlmSerialize.cpp.

◆ deserialize() [2/3]

void EngineCore::GlmSerialize::deserialize ( nlohmann::json & archive,
glm::quat & quaternion )
static

◆ deserialize() [3/3]

void EngineCore::GlmSerialize::deserialize ( nlohmann::json & archive,
glm::vec3 & vector )
static

Definition at line 26 of file GlmSerialize.cpp.

References EngineCore::GlmSerialize::VectorSerial::X, EngineCore::GlmSerialize::VectorSerial::Y, and EngineCore::GlmSerialize::VectorSerial::Z.

Referenced by EngineCore::Transform::Deserialize().

Here is the caller graph for this function:

◆ Serialize() [1/3]

void EngineCore::GlmSerialize::Serialize ( nlohmann::json & archive,
const glm::vec3 & vector )
static

Definition at line 5 of file GlmSerialize.cpp.

References EngineCore::GlmSerialize::VectorSerial::X, EngineCore::GlmSerialize::VectorSerial::Y, and EngineCore::GlmSerialize::VectorSerial::Z.

Referenced by EngineCore::Transform::Serialize().

Here is the caller graph for this function:

◆ Serialize() [2/3]

void EngineCore::GlmSerialize::Serialize ( nlohmann::json & archive,
glm::mat4 matrix )
static

Definition at line 11 of file GlmSerialize.cpp.

◆ Serialize() [3/3]

void EngineCore::GlmSerialize::Serialize ( nlohmann::json & archive,
glm::quat quaternion )
static

The documentation for this class was generated from the following files:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Serialization/GlmSerialize.h
  • /home/magerbeton/Documents/gl3-vulkan/Engine/src/Engine/Serialization/GlmSerialize.cpp