Class Framebuffer¶
Defined in File framebuffer.hpp
Class Documentation¶
-
class Framebuffer¶
RAII wrapper class for VkFramebuffer.
Public Functions
-
Framebuffer(const Device &device, VkRenderPass render_pass, const std::vector<VkImageView> &attachments, const Swapchain &swapchain, std::string name)¶
Default constructor.
- Parameters
device – The const reference to a device RAII wrapper instance.
render_pass – The renderpass which is associated with the framebuffer.
attachments – The attachments to use.
swapchain – The associated swapchain.
name – The internal debug marker name of the VkFramebuffer.
-
Framebuffer(const Framebuffer&) = delete¶
-
Framebuffer(Framebuffer&&) noexcept¶
-
~Framebuffer()¶
-
Framebuffer &operator=(const Framebuffer&) = delete¶
-
Framebuffer &operator=(Framebuffer&&) = delete¶
-
inline VkFramebuffer get() const¶
-
Framebuffer(const Device &device, VkRenderPass render_pass, const std::vector<VkImageView> &attachments, const Swapchain &swapchain, std::string name)¶