Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
GLVertexBuffer.hpp
1#pragma once
2
3#include <stdint.h>
4
5#include <Common/Graphics/VertexBuffer.hpp>
6
7namespace Grindstone::GraphicsAPI::OpenGL {
9 public:
10 VertexBuffer(const CreateInfo& createInfo);
12
13 const VertexBufferLayout &GetLayout() const;
14 virtual void UpdateBuffer(void *content);
15 void Bind();
16
17 protected:
18 uint32_t size;
19 GLuint vertexBuffer;
20 VertexBufferLayout vertexLayout;
21
22 };
23}
Definition GLVertexBuffer.hpp:8
Definition VertexBuffer.hpp:130
Definition VertexBuffer.hpp:104