BlockGame/gl/VertexBuffer.h

24 lines
374 B
C
Raw Normal View History

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