BlockGame/gl/VertexArray.h
2022-02-05 21:44:31 +01:00

25 lines
350 B
C++

//
// Created by lukas on 04.02.22.
//
#ifndef OPENGLTEST_VERTEXARRAY_H
#define OPENGLTEST_VERTEXARRAY_H
#include <vector>
#include "VertexBuffer.h"
class VertexArray {
private:
unsigned handle;
public:
VertexArray(const VertexBuffer& buff);
void Bind() const;
unsigned getHandle() const;
};
#endif //OPENGLTEST_VERTEXARRAY_H