iridescence
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
25 void draw(const glk::Texture& color_texture);
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
GLSLShader is a wrapper for OpenGL shader programs.
Definition glsl_shader.hpp:49
Definition plain_rendering.hpp:8
void draw(const glk::Texture &color_texture)
void draw_plain(glk::GLSLShader &shader) const
Texture class to wrap OpenGL texture object.
Definition texture.hpp:11
Definition async_buffer_copy.hpp:6