Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
UniformBuffer.hpp
1
#pragma once
2
3
#include <stdint.h>
4
#include "Formats.hpp"
5
6
namespace
Grindstone::GraphicsAPI {
10
class
UniformBuffer
{
11
public
:
12
struct
CreateInfo
{
13
const
char
* debugName;
14
bool
isDynamic;
15
uint32_t size;
16
};
17
18
virtual
void
UpdateBuffer(
void
* content) = 0;
19
virtual
uint32_t GetSize()
const
= 0;
20
virtual
void
Bind() = 0;
21
};
22
};
Grindstone::GraphicsAPI::UniformBuffer
Definition
UniformBuffer.hpp:10
Grindstone::GraphicsAPI::UniformBuffer::CreateInfo
Definition
UniformBuffer.hpp:12
sources
code
Common
Graphics
UniformBuffer.hpp
Generated by
1.12.0