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 | #include "BsGpuParamDesc.h" |
4 | #include "Private/RTTI/BsGpuProgramRTTI.h" |
5 | |
6 | namespace bs |
7 | { |
8 | constexpr UINT32 RTTIPlainType<GpuParamBlockDesc>::VERSION; |
9 | constexpr UINT32 RTTIPlainType<GpuParamObjectDesc>::VERSION; |
10 | constexpr UINT32 RTTIPlainType<GpuParamDataDesc>::VERSION; |
11 | |
12 | RTTITypeBase* GpuParamDesc::getRTTIStatic() |
13 | { |
14 | return GpuParamDescRTTI::instance(); |
15 | } |
16 | |
17 | RTTITypeBase* GpuParamDesc::getRTTI() const |
18 | { |
19 | return GpuParamDesc::getRTTIStatic(); |
20 | } |
21 | } |