| 1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
| 2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
| 3 | #pragma once |
| 4 | |
| 5 | #include "BsCorePrerequisites.h" |
| 6 | #include "Reflection/BsIReflectable.h" |
| 7 | #include "CoreThread/BsCoreObject.h" |
| 8 | |
| 9 | namespace bs |
| 10 | { |
| 11 | /** @addtogroup Resources |
| 12 | * @{ |
| 13 | */ |
| 14 | |
| 15 | /** Class containing meta-information describing a resource. */ |
| 16 | class BS_CORE_EXPORT ResourceMetaData : public IReflectable |
| 17 | { |
| 18 | public: |
| 19 | String displayName; |
| 20 | |
| 21 | /************************************************************************/ |
| 22 | /* SERIALIZATION */ |
| 23 | /************************************************************************/ |
| 24 | public: |
| 25 | friend class ResourceMetaDataRTTI; |
| 26 | static RTTITypeBase* getRTTIStatic(); |
| 27 | RTTITypeBase* getRTTI() const override; |
| 28 | }; |
| 29 | |
| 30 | /** @} */ |
| 31 | } |