#pragma once #include "BasicTypes.h" #include "PoseableBatch.h" namespace charcoal { namespace builtin { namespace basic { class Batch : public PoseableBatch { public: using PoseableBatch::PoseableBatch; protected: void setup_vao_vertex() override { glBindBuffer(GL_ARRAY_BUFFER, m_vertex_vbo); glEnableVertexAttribArray(0); glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, sizeof(Vertex), NULL); glVertexAttribDivisor(0, 0); } }; } } }