40617c8953
to specify the batch pipeline specified at StackOverflow See https://stackoverflow.com/questions/8923174/opengl-vao-best-practices#8923298
10 lines
208 B
C++
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;
|
|
}; |