BMC Engine
v1.0.0
An open-source game engine powered by C and C++
Loading...
Searching...
No Matches
BMC-ENGINE
rendering
graphics
buffers
VBO.h
1
#ifndef VBO_H
2
#define VBO_H
3
4
#include "glad/glad.h"
5
6
#include <iostream>
7
11
class
VBO
{
12
public
:
16
GLuint
id
;
17
23
VBO
(GLfloat* verts,
int
length);
24
28
void
bind
();
29
33
void
unbind
();
34
38
void
cleanup
();
39
private
:
40
GLfloat* vertices;
41
int
size;
42
};
43
44
#endif
// VBO_H
VBO
Definition
VBO.h:11
VBO::bind
void bind()
Definition
VBO.cpp:11
VBO::VBO
VBO(GLfloat *verts, int length)
Definition
VBO.cpp:3
VBO::unbind
void unbind()
Definition
VBO.cpp:16
VBO::cleanup
void cleanup()
Definition
VBO.cpp:21
VBO::id
GLuint id
Definition
VBO.h:16
Generated by
1.11.0