X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fquery.h;h=d5b83b960569911b5dd342351ec48567a0d98a1f;hp=5bcae284e6cf28a067cd6d9555ca284251add92e;hb=190a7e11237351f6b730c28f7b16f183e8adc69c;hpb=be6ffe96ecb4707599fe1a6f620c348760213d46 diff --git a/source/core/query.h b/source/core/query.h index 5bcae284..d5b83b96 100644 --- a/source/core/query.h +++ b/source/core/query.h @@ -11,9 +11,15 @@ class Renderer; enum QueryType { + /** Query result indicates if any fragments passed the depth and stencil + tests. */ OCCLUSION_QUERY }; +/** +A collection of query objects, which can be used to gather feedback from the +GPU. Semantics of the queries depend on the query type. +*/ class QueryPool: public QueryPoolBackend, public Msp::NonCopyable { friend QueryPoolBackend;