mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 03:34:15 +00:00
feat(vbo): add core namespace
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
#include "glad/glad.h"
|
#include "glad/glad.h"
|
||||||
|
|
||||||
|
namespace core
|
||||||
|
{
|
||||||
// A VBO (Vertex Buffer Object) is a contiguous block of GPU memory that stores
|
// A VBO (Vertex Buffer Object) is a contiguous block of GPU memory that stores
|
||||||
// vertex data as raw bytes.
|
// vertex data as raw bytes.
|
||||||
class VBO
|
class VBO
|
||||||
@@ -29,5 +31,6 @@ class VBO
|
|||||||
// unbinds current GL_ARRAY_BUFFER target (it's replaced by null id)
|
// unbinds current GL_ARRAY_BUFFER target (it's replaced by null id)
|
||||||
static void unbind();
|
static void unbind();
|
||||||
};
|
};
|
||||||
|
} // namespace core
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in New Issue
Block a user