aboutsummaryrefslogtreecommitdiffstats
path: root/include/renderpass.hpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2022-07-09 23:45:26 +0200
committerladevieq <ladevie.quentin@gmail.com>2022-07-10 00:04:17 +0200
commitcfcb5c3212f0fce667885ff0de6fa0b9fc4b3ca8 (patch)
treed076b243e0203537d5816c9a15010723581d7f97 /include/renderpass.hpp
parent928b1b0503d2ecab09cc275e9775593a41e417cb (diff)
Improve compilation time
Diffstat (limited to 'include/renderpass.hpp')
-rw-r--r--include/renderpass.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/renderpass.hpp b/include/renderpass.hpp
index a444c64..da116dd 100644
--- a/include/renderpass.hpp
+++ b/include/renderpass.hpp
@@ -1,8 +1,9 @@
#pragma once
-#include <string>
+using VkCommandBuffer = struct VkCommandBuffer_T*;
-#include "vk-renderer.hpp"
+class vkrenderer;
+class vkapi;
class Renderpass {
public:
@@ -11,7 +12,7 @@ class Renderpass {
:api(api)
{};
- virtual ~Renderpass() {};
+ virtual ~Renderpass() = default;
// TODO: Do not use vulkan api type
virtual void execute(vkrenderer& renderer, VkCommandBuffer command_buffer) = 0;