gtsam_points
Loading...
Searching...
No Matches
query.hpp
Go to the documentation of this file.
1#ifndef GLK_QUERY_HPP
2#define GLK_QUERY_HPP
3
4#include <GL/gl3w.h>
5
6namespace glk {
7
8class Query {
9public:
12
13 void begin(GLenum target);
14 void end();
15
16 template<typename T>
17 T get() const;
18
19private:
20 GLuint query;
21 GLenum target;
22};
23} // namespace glk
24
25#endif
Definition query.hpp:8
void end()
void begin(GLenum target)
T get() const
Definition async_buffer_copy.hpp:6
std::enable_if_t< needs_aligned_allocator< T >::value, std::shared_ptr< T > > make_shared(Args &&... args)
Definition make_shared.hpp:20