1 #ifndef MSP_GL_FRAMEBUFFER_BACKEND_H_
2 #define MSP_GL_FRAMEBUFFER_BACKEND_H_
5 #include "frameformat.h"
14 class VulkanFramebuffer: public NonCopyable
16 friend class VulkanCommands;
17 friend class VulkanPipelineState;
21 mutable VkFramebuffer handle = 0;
22 std::string debug_name;
24 VulkanFramebuffer(bool);
25 VulkanFramebuffer(VulkanFramebuffer &&);
28 bool is_format_supported(const FrameFormat &);
29 static void require_layered() { }
31 void update(unsigned) const;
32 void require_complete() const { }
34 void set_debug_name(const std::string &);
35 void set_vulkan_object_name() const;
38 using FramebufferBackend = VulkanFramebuffer;