Changeset 174 for trunk/VUT/Ogre/include
- Timestamp:
- 07/14/05 09:06:16 (19 years ago)
- Location:
- trunk/VUT/Ogre/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgreOcclusionQueriesQueryManager.h
r173 r174 15 15 on different hierarchy types, while reusing the implementation of the query methods. 16 16 */ 17 OcclusionQueriesQueryManager(PlatformHierarchyInterface *hierarchyInterface, 18 Viewport *vp, 19 bool renderPatches, 20 bool useItemBufferForGeometry); 17 OcclusionQueriesQueryManager(PlatformHierarchyInterface *hierarchyInterface, Viewport *vp, 18 int queryModes, int itemBufferMode); 21 19 22 20 void ComputeCameraVisibility(const Camera &camera, … … 70 68 void RemoveDuplicatePatches(InfoContainer<GtpVisibility::PatchInfo> *visiblePatches); 71 69 72 bool mUseItemBuffer; 70 /** Returns the patches of the geometry of a given node. 71 @param node the node containing the patches 72 @param patchList the patches are returned in this list 73 */ 74 virtual void GetNodePatchList(GtpVisibility::HierarchyNode *node, 75 GtpVisibility::PatchList *patchList); 76 77 int mItemBufferMode; 73 78 }; 74 79 -
trunk/VUT/Ogre/include/OgreOctreeHierarchyInterface.h
r158 r174 48 48 49 49 void GetNodeGeometryList(GtpVisibility::HierarchyNode *node, 50 GtpVisibility::GeometryList *geometryList,51 bool includeChildren);52 50 GtpVisibility::GeometryList *geometryList, 51 bool includeChildren); 52 53 53 protected: 54 54 /** Returns pointer to the bounding box of the node. -
trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h
r156 r174 106 106 bool IsBoundingBoxQuery(); 107 107 108 GtpVisibility::OcclusionQuery *IssueOcclusionQuery(GtpVisibility::Patch *patch); 108 109 109 110 protected: … … 111 112 */ 112 113 void RenderGeometry(GtpVisibility::Mesh *geom); 114 115 /** Renders a patch 116 */ 117 void RenderPatch(GtpVisibility::Patch *patch); 113 118 114 119 /** Materials for visualizing frustum and query culled nodes. -
trunk/VUT/Ogre/include/OgrePlatformQueryManager.h
r173 r174 18 18 */ 19 19 PlatformQueryManager(PlatformHierarchyInterface *hierarchyInterface, 20 Viewport *vp, 21 bool renderPatches); 20 Viewport *vp, int queryModes); 22 21 23 22 /** … … 42 41 */ 43 42 void SetViewport(Viewport *vp); 44 43 45 44 protected: 46 45 … … 53 52 54 53 Viewport *mViewport; 54 55 55 bool mWasInitialised; 56 bool mRenderPatches;57 56 }; 58 57
Note: See TracChangeset
for help on using the changeset viewer.