CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MeshImporter.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
13
16
17namespace CeresEngine {
18
20 Matrix4 transform = Matrix4(1.0);
21
22 public: // Reflection
25 template<typename Processor> static constexpr void reflect(Processor&& RTTI) { CE_REFL_DATA(transform); }
26 };
27
28 class MeshImporter : public TResourceImporter<Mesh, MeshImportOptions> {
29 public:
30 using TResourceImporter::TResourceImporter;
31 };
32
33} // namespace CeresEngine
#define CE_REFL_DATA(N)
Definition Macros.hpp:541
Definition MeshImporter.hpp:28
Creates a new resource importer.
Definition ResourceImporter.hpp:248
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition MeshImporter.hpp:19
static constexpr void reflect(Processor &&RTTI)
Executes the given processor for every field of the struct.
Definition MeshImporter.hpp:25
Matrix4 transform
Definition MeshImporter.hpp:20
A structure that contains import options that describes how a resource should be imported.
Definition ResourceImportOptions.hpp:16