BlockGame/gl/VertexArray.h

25 lines
350 B
C
Raw Normal View History

2022-02-05 20:44:31 +00:00
//
// 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