Model3DCollection.h 493 B

12345678910111213141516171819
  1. #pragma once
  2. #include <functional>
  3. #include "ReferenceCounter.h"
  4. namespace Framework
  5. {
  6. class Model3D;
  7. class Model3DCollection : public virtual ReferenceCounter
  8. {
  9. public:
  10. DLLEXPORT Model3DCollection();
  11. virtual void forAll(std::function<void(Model3D*)> f) = 0;
  12. DLLEXPORT virtual bool tick(
  13. std::function<void(Model3D*)> f, double time);
  14. DLLEXPORT virtual void render(std::function<void(Model3D*)> f);
  15. };
  16. } // namespace Framework