gtsam_points
Loading...
Searching...
No Matches
texture_renderer.hpp
Go to the documentation of this file.
1#ifndef GLK_TEXTURE_RENDERER_HPP
2#define GLK_TEXTURE_RENDERER_HPP
3
4#include <array>
5#include <unordered_map>
6
7#include <GL/gl3w.h>
8#include <glk/glsl_shader.hpp>
11
12namespace glk {
13
14class PlainRendering;
15
21public:
24
26 void draw_plain(glk::GLSLShader& shader) const;
27
28private:
29 GLuint vao;
30 GLuint vbo;
31
32 std::shared_ptr<glk::PlainRendering> plain_effect;
33};
34
35} // namespace glk
36
37#endif
Definition glsl_shader.hpp:20
TextureRenderer.
Definition texture_renderer.hpp:20
void draw(const glk::Texture &color_texture)
void draw_plain(glk::GLSLShader &shader) const
Definition texture.hpp:10
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