Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
GLUniformBuffer.hpp
1#pragma once
2
3#include <Common/Graphics/UniformBuffer.hpp>
4
5namespace Grindstone::GraphicsAPI::OpenGL {
7 public:
8 UniformBuffer(const CreateInfo& createInfo);
10
11 virtual void UpdateBuffer(void *content) override;
12 virtual uint32_t GetSize() const override;
13 virtual void Bind() override;
14 private:
15 GLuint uniformBufferObject = 0;
16 GLuint bindingLocation = 0;
17 uint32_t size = 0;
18 };
19}
Definition GLUniformBuffer.hpp:6
Definition UniformBuffer.hpp:10