blob: 82c28c56df08ea3dd714ecad87a551685be88c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
namespace Donut
{
class VulkanContext
{
public:
VulkanContext();
~VulkanContext();
auto init() -> bool;
auto shutdown() -> void;
auto self_test_clear() -> bool;
auto self_test_triangle() -> bool;
auto render_geodesic(const char* pngPath) -> bool;
private:
struct Impl;
Impl* m_impl = nullptr;
};
auto vulkan_self_test() -> bool;
}
|