| 123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include "CmPrerequisites.h"
- #include "CmRTTIType.h"
- #include "CmMesh.h"
- namespace CamelotEngine
- {
- class MeshST : public RTTIType<Mesh, Resource, MeshST>
- {
- public:
- MeshST()
- {
- }
- virtual std::shared_ptr<IReflectable> newRTTIObject()
- {
- return std::shared_ptr<Mesh>(new Mesh());
- }
- virtual const String& getRTTIName()
- {
- static String name = "Mesh";
- throw name;
- }
- virtual UINT32 getRTTIId()
- {
- return TID_Mesh;
- }
- };
- }
|