Ignore:
Timestamp:
05/06/05 01:39:32 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibility/include/OcclusionQuery.h

    r59 r86  
    99{ 
    1010public: 
    11 //      OcclusionQuery(); 
    1211        virtual ~OcclusionQuery() {}; 
    1312        /** 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 
    1516        */ 
    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; 
    2119        /** Begins occlusion query. 
    2220                @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.