mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 07:28:12 +08:00
17 lines
282 B
C++
17 lines
282 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
class ElementBufferObject
|
|
{
|
|
private:
|
|
unsigned int _id;
|
|
|
|
public:
|
|
ElementBufferObject(std::vector<unsigned int> indices);
|
|
|
|
inline unsigned int id() const { return _id; }
|
|
|
|
inline void bind() const;
|
|
inline void unbind() const;
|
|
}; |