charcoal/OpenGLEngine/Mesh.h

10 lines
208 B
C++

#pragma once
template <typename VertexType, typename IndexType>
struct Mesh
{
VertexType* vertices = nullptr;
unsigned int vertex_count = 0;
IndexType* indices = nullptr;
unsigned int index_count = 0;
};