Changeset 86 for trunk/VUT/GtpVisibility/include/OcclusionQuery.h
- Timestamp:
- 05/06/05 01:39:32 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/include/OcclusionQuery.h
r59 r86 9 9 { 10 10 public: 11 // OcclusionQuery();12 11 virtual ~OcclusionQuery() {}; 13 12 /** Returns the result of an occlusion query in terms of visible pixels. 14 @returns number of visible pixels 13 @param queryResult the number of visible pixels if the result was available 14 @param waitForResult if we should wait for the result until available 15 @returns if the result was already available 15 16 */ 16 virtual unsigned int GetQueryResult() const = 0; 17 /** Returns true if the result of the query is available, false otherwise. 18 @returns if result is available 19 */ 20 virtual bool ResultAvailable() const = 0; 17 virtual bool GetQueryResult(unsigned int &queryResult, 18 const bool waitForResult) const = 0; 21 19 /** Begins occlusion query. 22 20 @remark the query counts the number of visible pixels between it's begin and end
Note: See TracChangeset
for help on using the changeset viewer.