blob: dc32f72f2000fcd7acd2687031071dfbe85969c8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "vertex.h"
#include "gfx/gl/glVertexArray.h"
template<>
Impl::VertexArrayConfigurator &
Impl::VertexArrayConfigurator::addAttribsFor<Vertex>(const GLuint divisor, const glBuffer & buffer)
{
return addAttribs<Vertex, &Vertex::pos, &Vertex::texCoord, &Vertex::normal, &Vertex::colour, &Vertex::material>(
divisor, buffer);
}
|