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(); bool init(); void shutdown(); bool self_test_clear(); bool self_test_triangle(); bool render_geodesic(const char* png_path); private: struct Impl; Impl* m_impl = nullptr; }; bool vulkan_self_test(); }