| 
    StapleGL
    
   Header-only C++20 OpenGL wrapper 
   | 
 
Vertex buffer object for instanced rendering. More...
#include "gl_functions.hpp"#include "vertex_buffer.hpp"#include "vertex_buffer_layout.hpp"#include <cassert>#include <numbers>#include <span>

Go to the source code of this file.
Classes | |
| class | staplegl::vertex_buffer_inst | 
| A vertex buffer object for instanced rendering.  More... | |
Namespaces | |
| namespace | staplegl | 
Vertex buffer object for instanced rendering.
This class is a specialization of the vertex_buffer class, and it is meant to help with instanced rendering, allowing the user of staplegl to build a more performant renderer. 
It can be thought of as a std::vector-like container for vertex data.
Definition in file vertex_buffer_inst.hpp.