#pragma once #include "SceneItem.h" #include "Texture.h" #include #include #include #include class AbstractMesh; //class Texture; class SceneModel : public SceneItem { public: SceneModel(std::unique_ptr mesh); AbstractMesh* getMesh() const; void updateMesh(std::unique_ptr mesh); Type getType() const override; private: std::unique_ptr mMesh; std::unique_ptr mColorMap; bool mMeshIsDirty{true}; bool mColorMapIsDirty{true}; };