- Timestamp:
- 02/20/06 19:06:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OGRE/trunk/ogre_changes/OgreMain/include/OgreHardwareOcclusionQuery.h
r115 r657 46 46 * 47 47 * @author Lee Sandberg 48 * Updated on 4/8/2005 by Tuan Kuranes email: tuan.kuranes@free.fr 48 49 */ 49 50 class _OgreExport HardwareOcclusionQuery … … 82 83 * UINT m_uintNumberOfPixelsVisable; 83 84 * pullOcclusionQuery( &m_dwNumberOfPixelsVisable ); 84 * You may not get the result directl ly after the first pass or frame.85 * Objects not vis able must be tested every frame, visable objects may be tested less freqvent.85 * You may not get the result directly after the first pass or frame. 86 * Objects not visible must be tested every frame, visible objects may be tested less frequently. 86 87 * 87 88 */ … … 112 113 * 113 114 * @Remarks This function allows you to set how often the hardware occlusion really are sent to the driver 114 * if you set it to 0 every h w occlusion test is acctually made. If you set it to 1 only the half of your queries are sent115 * for all vis able objects. 2 will result in 25% of all queries to acctualy be sent.116 * New and none vis able objects will be tested all the time.117 * This functionality is here because this class can keep track on vis able and none visable objects for you.115 * if you set it to 0 every hardware occlusion test is actually made. If you set it to 1 only the half of your queries are sent 116 * for all visible objects. 2 will result in 25% of all queries to actually be sent. 117 * New and none visible objects will be tested all the time. 118 * This functionality is here because this class can keep track on visible and none visible objects for you. 118 119 * Once you you set the SkipRate for any hardware occlusion instance it effects all others. 119 120 */
Note: See TracChangeset
for help on using the changeset viewer.