25 lines
350 B
C++
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
|