Ends the time elapsed query and swaps the currently active query buffer.
uint64_t
getElapsedNanoseconds () const
Returns the elapsed nano seconds from the previous frame query. This is the native data type of the underlying query object. Throws logic_error if not stopped.
double
getElapsedMilliseconds () const
Returns the elapsed Milliseconds from the previous frame query. Converts from what gl returns, which is nano seconds. Throws logic_error if not stopped.
double
getElapsedSeconds () const
Returns the elapsed seconds from the previous frame query. Converts from what gl returns, which is nano seconds. Throws logic_error if not stopped.