Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
BufferInfo.hpp
1
#pragma once
2
3
#include <vector>
4
#include <string>
5
#include <map>
6
#include <stdint.h>
7
8
#include <Common/Graphics/Buffer.hpp>
9
10
namespace
Grindstone::Renderer {
11
struct
BufferInfo
{
12
size_t
size = 0;
13
Grindstone::GraphicsAPI::BufferUsage usage;
14
bool
persistent =
true
;
15
16
bool
operator==(
const
BufferInfo
& other)
const
{
17
return
size == other.size &&
18
usage == other.usage &&
19
persistent == other.persistent;
20
}
21
22
bool
operator!=(
const
BufferInfo
& other)
const
{
23
return
!(*
this
== other);
24
}
25
};
26
}
Grindstone::Renderer::BufferInfo
Definition
BufferInfo.hpp:11
sources
code
Common
Rendering
BufferInfo.hpp
Generated by
1.13.2