12 VertexBuffer(
const std::vector<float> &vertices,
13 unsigned int componentCount);
14 VertexBuffer(
const VertexBuffer &) =
delete;
15 VertexBuffer(VertexBuffer &&other);
19 VertexBuffer &operator=(
const VertexBuffer &) =
delete;
20 VertexBuffer &operator=(VertexBuffer &&other);
22 unsigned int GetComponentCount()
const {
return m_ComponentCount; }
23 GLenum GetType()
const {
return m_Type; }
31 unsigned int m_ComponentCount;
32 GLenum m_Type = GL_FLOAT;