CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
ResourceMetadata.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
10#include "Forward.hpp"
11
13
15
17
19
20namespace CeresEngine {
21
25
26 public:
29
30 public: // Importing
32 bool imported = false;
33
36
39
40 public:
42
43 public: // Reflection
50 // CE_REFL_DATA(importOptions);
51 }
52 };
53
54} // namespace CeresEngine
#define CE_REFLECTABLE_STRUCT
Definition IReflectable.hpp:47
#define CE_REFL_DATA(N)
Definition Macros.hpp:541
A Uniform Resource Identifier (URI) is a unique sequence of characters that identifies a logical or p...
Definition URI.hpp:54
Definition Application.hpp:19
std::unique_ptr< T, Deleter > UPtr
UPtr is a smart pointer that owns and manages another object through a pointer and disposes of that o...
Definition SmartPtr.hpp:28
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A structure that holds metadata for a resource.
Definition ResourceMetadata.hpp:23
virtual ~ResourceMetadata() noexcept=default
UUID resourceID
The resource UUID.
Definition ResourceMetadata.hpp:28
bool imported
Determines if the resource was imported or created in-engine.
Definition ResourceMetadata.hpp:32
ResourceURL importedFromURL
A URL the resource was originally imported from.
Definition ResourceMetadata.hpp:35
UPtr< ResourceImportOptions > importOptions
The import options used to import the resource.
Definition ResourceMetadata.hpp:38
Represents a universally unique identifier (UUID).
Definition UUID.hpp:27