Model3DCollection.h 480 B

123456789101112131415161718
  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(std::function<void(Model3D*)> f, double time);
  13. DLLEXPORT virtual void render(std::function<void(Model3D*)> f);
  14. };
  15. } // namespace Framework