26 std::fill_n(attribute_dimensions.begin(), max_attributes, 0);
27 std::fill_n(attribute_buffers.begin(), max_attributes,
nullptr);
28 index_buffer =
nullptr;
32 constexpr static int max_attributes =
34 std::shared_ptr<VAO> vao;
35 std::array<int, max_attributes> attribute_dimensions;
36 std::array<std::shared_ptr<GPUBuffer>, max_attributes> attribute_buffers;
37 std::shared_ptr<GPUBuffer> index_buffer;