| 123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include "CmPrerequisites.h"
- #include "CmRTTIType.h"
- #include "CmGpuResourceData.h"
- namespace CamelotFramework
- {
- class CM_EXPORT GpuResourceDataRTTI : public RTTIType<GpuResourceData, IReflectable, GpuResourceDataRTTI>
- {
- public:
- GpuResourceDataRTTI()
- {
- }
- virtual const String& getRTTIName()
- {
- static String name = "GpuResourceData";
- return name;
- }
- virtual UINT32 getRTTIId()
- {
- return TID_GpuResourceData;
- }
- virtual std::shared_ptr<IReflectable> newRTTIObject()
- {
- CM_EXCEPT(InternalErrorException, "Cannot instantiate an abstract class.");
- }
- };
- }
|