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/BsRTTIType.h"
7#include "Audio/BsAudioClipImportOptions.h"
8
9namespace bs
10{
11 /** @cond RTTI */
12 /** @addtogroup RTTI-Impl-Core
13 * @{
14 */
15
16 class BS_CORE_EXPORT AudioClipImportOptionsRTTI : public RTTIType<AudioClipImportOptions, ImportOptions, AudioClipImportOptionsRTTI>
17 {
18 private:
19 BS_BEGIN_RTTI_MEMBERS
20 BS_RTTI_MEMBER_PLAIN(format, 0)
21 BS_RTTI_MEMBER_PLAIN(readMode, 1)
22 BS_RTTI_MEMBER_PLAIN(is3D, 2)
23 BS_RTTI_MEMBER_PLAIN(bitDepth, 3)
24 BS_END_RTTI_MEMBERS
25 public:
26 /** @copydoc RTTIType::getRTTIName */
27 const String& getRTTIName() override
28 {
29 static String name = "AudioClipImportOptions";
30 return name;
31 }
32
33 /** @copydoc RTTIType::getRTTIId */
34 UINT32 getRTTIId() override
35 {
36 return TID_AudioClipImportOptions;
37 }
38
39 /** @copydoc RTTIType::newRTTIObject */
40 SPtr<IReflectable> newRTTIObject() override
41 {
42 return bs_shared_ptr_new<AudioClipImportOptions>();
43 }
44 };
45
46 /** @} */
47 /** @endcond */
48}
49