#pragma once #include #include class VisualLayer; class TriMesh; class RectangleNode; template class Image; class Scene { public: Scene() = default; void syncLayers(const std::vector& layers); void update(Image* image = nullptr); unsigned getNumMeshes() const; TriMesh* getMesh(std::size_t idx) const; private: void processRectangleNode(RectangleNode* node); std::vector mWorkingMeshs; std::vector mLayers; };