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
5
namespace
Grindstone::GraphicsAPI::OpenGL {
6
class
UniformBuffer
:
public
Grindstone::GraphicsAPI::UniformBuffer
{
7
public
:
8
UniformBuffer
(
const
CreateInfo
& createInfo);
9
~UniformBuffer
();
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
}
Grindstone::GraphicsAPI::OpenGL::UniformBuffer
Definition
GLUniformBuffer.hpp:6
Grindstone::GraphicsAPI::UniformBuffer
Definition
UniformBuffer.hpp:10
Grindstone::GraphicsAPI::UniformBuffer::CreateInfo
Definition
UniformBuffer.hpp:12
sources
code
Plugins
GraphicsOpenGL
GLUniformBuffer.hpp
Generated by
1.12.0