|
CG_Labs
2020.0
|
Contains the data for a mesh in OpenGL.
#include <helpers.hpp>
Public Attributes | |
| GLuint | vao {0u} |
| OpenGL name of the Vertex Array Object. More... | |
| GLuint | bo {0u} |
| OpenGL name of the Buffer Object. More... | |
| GLuint | ibo {0u} |
| OpenGL name of the Buffer Object for indices. More... | |
| size_t | vertices_nb {0u} |
| number of vertices stored in bo More... | |
| size_t | indices_nb {0u} |
| number of indices stored in ibo More... | |
| texture_bindings | bindings {} |
| texture bindings for this mesh More... | |
| GLenum | drawing_mode {GL_TRIANGLES} |
| OpenGL drawing mode, i.e. GL_TRIANGLES, GL_LINES, etc. More... | |
| std::string | name {} |
| Name of the mesh; used for debugging purposes. More... | |
| texture_bindings bonobo::mesh_data::bindings {} |
| GLuint bonobo::mesh_data::bo {0u} |
| GLenum bonobo::mesh_data::drawing_mode {GL_TRIANGLES} |
| GLuint bonobo::mesh_data::ibo {0u} |
| size_t bonobo::mesh_data::indices_nb {0u} |
| std::string bonobo::mesh_data::name {} |
| GLuint bonobo::mesh_data::vao {0u} |
| size_t bonobo::mesh_data::vertices_nb {0u} |
1.8.18