19 lines
254 B
C++
19 lines
254 B
C++
#pragma once
|
|
|
|
#include <glad/glad.h>
|
|
|
|
class VertexArray
|
|
{
|
|
public:
|
|
VertexArray();
|
|
~VertexArray();
|
|
|
|
static VertexArray Create();
|
|
|
|
void Bind() const;
|
|
static void Unbind();
|
|
void Shutdown() const;
|
|
|
|
private:
|
|
unsigned int m_VAO{};
|
|
}; |