Line | |
---|
1 | #ifndef _OGREVISIBILITYPREDICTOR_H__ |
---|
2 | #define _OGREVISIBILITYPREDICTOR_H__ |
---|
3 | |
---|
4 | #include <Ogre.h> |
---|
5 | #include "ViewCellsManager.h" |
---|
6 | #include "HierarchyInterface.h" |
---|
7 | |
---|
8 | |
---|
9 | namespace Ogre {
|
---|
10 |
|
---|
11 | /** Visibility predictor
|
---|
12 | */
|
---|
13 |
|
---|
14 | class __declspec(dllexport) VisibilityPredictor
|
---|
15 | {
|
---|
16 | public:
|
---|
17 |
|
---|
18 | VisibilityPredictor();
|
---|
19 |
|
---|
20 | void HandleProbablyVisibleObjects(GtpVisibilityPreprocessor::ViewCell *vc);
|
---|
21 | void UpdateVisibility(GtpVisibilityPreprocessor::ViewCell *vc);
|
---|
22 |
|
---|
23 | void IssueMultiQuery(const vector<Entity *> &mEntities);
|
---|
24 |
|
---|
25 |
|
---|
26 | protected:
|
---|
27 |
|
---|
28 | GtpVisibility::HierarchyNodeContainer mEntityBuffer;
|
---|
29 | };
|
---|
30 |
|
---|
31 |
|
---|
32 | } // namespace Ogre
|
---|
33 |
|
---|
34 | #endif // VisibilityPredictor |
---|
Note: See
TracBrowser
for help on using the repository browser.