Lines Matching defs:Query
28 * A Query instance can be used to perform occlusion queries. If the device
29 * does not support occlusion queries, the result of a query will always be
32 * To run an occlusion query successfully, you must start end end the query:
34 * Query query;
35 * query.begin();
37 * query.end();
38 * GLuint result = query.getResult();
40 class Query {
43 * Possible query targets.
59 * Creates a new query with the specified target. The default
62 Query(Target target = kTargetSamples): mActive(false), mTarget(target),
67 ~Query() {
74 * Begins the query. If the query has already begun or if the device
76 * After calling this method successfully, the query is marked active.
90 * Ends the query. If the query has already begun or if the device
92 * After calling this method successfully, the query is marked inactive.
102 * Returns true if the query is active, false otherwise.
109 * Returns true if the result of the query is available,
124 * Returns the result of the query. If the device does not
127 * Calling this method implicitely calls end() if the query
147 }; // class Query