5#ifndef SMK_VERTEX_ARRAY_HPP
6#define SMK_VERTEX_ARRAY_HPP
8#include <initializer_list>
9#include <smk/OpenGL.hpp>
10#include <smk/Vertex.hpp>
43 void Allocate(
int element_size,
void* data);
52 mutable int* ref_count_ =
nullptr;
An array of smk::Vertex moved to the GPU memory. This represent a set of triangles to be drawn by the...
size_t size() const
The size of the GPU array.