BsOctreeSceneManager.h 610 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "BsOctreeSMPrerequisites.h"
  3. #include "BsSceneManager.h"
  4. namespace BansheeEngine
  5. {
  6. class BS_SM_EXPORT OctreeSceneManager : public SceneManager
  7. {
  8. public:
  9. OctreeSceneManager() {}
  10. ~OctreeSceneManager() {}
  11. const CM::Vector<HCamera>::type& getAllCameras() const { return mCachedCameras; }
  12. CM::Vector<HRenderable>::type getVisibleRenderables(const HCamera& camera) const;
  13. private:
  14. void notifyComponentAdded(const CM::HComponent& component);
  15. void notifyComponentRemoved(const CM::HComponent& component);
  16. CM::Vector<HCamera>::type mCachedCameras;
  17. };
  18. }