Visualisierung 2
Comparison of Hue Preserving Rendering to Alpha Composing
Renderable.h
Go to the documentation of this file.
1 
7 #ifndef RENDERABLE_H
8 #define RENDERABLE_H
9 
10 #include <vector>
11 
12 #include <glm/glm.hpp>
13 
17 struct RenderData {
21  std::vector<glm::vec3> vertices;
25  std::vector<unsigned int> indices;
26 };
27 
28 #endif
std::vector< unsigned int > indices
array with indices for the given vertex array
Definition: Renderable.h:25
std::vector< glm::vec3 > vertices
array with vertices (vec3)
Definition: Renderable.h:21
Helper struct for passing renderable data in the application.
Definition: Renderable.h:17