CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
SceneImporter.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
11
14
15namespace CeresEngine {
16
19 public: // Reflection
22 template<typename Processor> static constexpr void reflect(Processor&& RTTI) {}
23 };
24
26 class SceneImporter : public TResourceImporter<Scene, SceneImportOptions> {
27 public:
28 using TResourceImporter::TResourceImporter;
29 };
30
31} // namespace CeresEngine
32
#define CE_REFLECT_HASH(T)
Definition Hash.hpp:89
Base class for a Scene importer.
Definition SceneImporter.hpp:26
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
A structure that contains import options that describes how a resource should be imported.
Definition ResourceImportOptions.hpp:16
A set of options that customize the behavior of Scene importing.
Definition SceneImporter.hpp:18
static constexpr void reflect(Processor &&RTTI)
Executes the given processor for every field of the struct.
Definition SceneImporter.hpp:22