2022-12-12 14:22:25 +08:00

19 lines
319 B
C++

#pragma once
#include <vector>
#include "vertex.h"
class VertexBufferObject {
private:
unsigned int _id;
public:
VertexBufferObject(std::vector<Vertex> vertices);
~VertexBufferObject();
inline unsigned int id() const { return _id; }
inline void bind() const;
inline void unbind() const;
};