| 1234567891011121314151617181920212223242526 |
- #pragma once
- #include "BsOctreeSMPrerequisites.h"
- #include "BsSceneManager.h"
- namespace BansheeEngine
- {
- class BS_SM_EXPORT OctreeSceneManager : public SceneManager
- {
- public:
- OctreeSceneManager() {}
- ~OctreeSceneManager() {}
- const Vector<HCamera>& getAllCameras() const { return mCachedCameras; }
- Vector<HRenderable> getVisibleRenderables(const HCamera& camera) const;
- void updateRenderableBounds();
- private:
- void notifyComponentAdded(const HComponent& component);
- void notifyComponentRemoved(const HComponent& component);
- Vector<HCamera> mCachedCameras;
- Vector<HRenderable> mRenderables;
- };
- }
|