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

27 lines
420 B
C++

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