From 927348d9d8eb16b469c23ef32486bea5f94c5469 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 17 Sep 2019 15:06:39 -0400 Subject: made VBO rendering accessible --- src/events/render.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/events/render.hpp (limited to 'src/events') diff --git a/src/events/render.hpp b/src/events/render.hpp new file mode 100644 index 0000000..bcecac6 --- /dev/null +++ b/src/events/render.hpp @@ -0,0 +1,16 @@ +#ifndef EVENTS_RENDER_HPP_ +#define EVENTS_RENDER_HPP_ + +struct NewRenderEvent +{ + GLuint vbo; + GLuint tex; + GLuint normal; + unsigned int vertex; + + NewRenderEvent(GLuint _vbo, GLuint _tex, GLuint _normal, unsigned int _vertex) : + vbo(_vbo), tex(_tex), normal(_normal), vertex(_vertex) {} +}; + +#endif // EVENTS_RENDER_HPP_ + -- cgit v1.2.3