|
StapleGL
Header-only C++20 OpenGL wrapper
|
Vertex Buffer Layout abstraction. More...
#include <span>#include <string>#include <string_view>#include <vector>#include "shader_data_type.hpp"

Go to the source code of this file.
Classes | |
| struct | staplegl::vertex_attribute |
| Vertex attribute. More... | |
| class | staplegl::vertex_buffer_layout |
| Vertex buffer layout. More... | |
Namespaces | |
| namespace | staplegl |
Vertex Buffer Layout abstraction.
Provides a simple abstraction for vertex buffer layouts, allowing to specify the layout of the vertex buffer in a simple and easy to use way.
Vertex buffer layouts are used to specify the layout of the data contained in a vertex buffer, that is, the type of the data, the name of the attribute and the offset of the attribute in the buffer (in bytes).
Definition in file vertex_buffer_layout.hpp.