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

24 lines
374 B
C++

//
// Created by lukas on 03.02.22.
//
#ifndef OPENGLTEST_VERTEXBUFFER_H
#define OPENGLTEST_VERTEXBUFFER_H
#define GL_GLEXT_PROTOTYPES
class VertexBuffer {
private:
unsigned handle;
public:
VertexBuffer(const void* data, const unsigned size);
virtual ~VertexBuffer();
void Bind() const;
void UnBind() const;
};
#endif //OPENGLTEST_VERTEXBUFFER_H