Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
AttachmentInfo.hpp
1#pragma once
2
3#include <vector>
4#include <string>
5#include <map>
6#include <stdint.h>
7
8#include <Common/Graphics/Formats.hpp>
9#include <Common/Graphics/Image.hpp>
10
11namespace Grindstone::Renderer {
12 enum class SizeUnit {
13 SwapchainRelative,
14 Absolute
15 };
16
18 SizeUnit widthUnit;
19 float width;
20 SizeUnit heightUnit;
21 float height;
22 float depth;
23 Grindstone::GraphicsAPI::Format format;
24 Grindstone::GraphicsAPI::ImageUsageFlags usageFlags;
25 std::string sizeRelativeName;
26 unsigned samples = 1;
27 unsigned levels = 1;
28 unsigned layers = 1;
29 bool persistent = true;
30 };
31}
Definition AttachmentInfo.hpp:17