VulkanEngine 0.1
Graphics engine using Vulkan
Loading...
Searching...
No Matches
Framebuffer.h
1// Copyright (c) 2024 Michael Carlie. All Rights Reserved.
2//
3// This software is released under the MIT License.
4// https://opensource.org/licenses/MIT
5
6#ifndef INCLUDE_VULKANENGINE_FRAMEBUFFER_H_
7#define INCLUDE_VULKANENGINE_FRAMEBUFFER_H_
8
9#include <memory>
10#include <vector>
11#include <vulkan/vulkan.hpp>
12
13namespace VulkanEngine {
14
15class RenderPass;
16class ImageBase;
17
20 public:
21 Framebuffer(const std::shared_ptr<RenderPass>& render_pass,
22 const std::vector<std::shared_ptr<ImageBase>>& attachments,
23 uint32_t width, uint32_t height, uint32_t layers = 1);
24
26
27 private:
28 vk::Framebuffer vk_framebuffer;
29};
30
31} // namespace VulkanEngine
32
33#endif // INCLUDE_VULKANENGINE_FRAMEBUFFER_H_
TODO: This is a work in progress and is not currently used.
Definition: Framebuffer.h:19
TODO development of this class is in progress.
Definition: Attribute.h:13