6#ifndef INCLUDE_VULKANENGINE_RENDERPASS_H_
7#define INCLUDE_VULKANENGINE_RENDERPASS_H_
9#include <VulkanEngine/Image.h>
10#include <VulkanEngine/VulkanManager.h>
24 Image<vk::Format::eD32SfloatS8Uint, vk::ImageType::e2D,
25 vk::ImageTiling::eOptimal, vk::SampleCountFlagBits::e4>;
28 Image<vk::Format::eB8G8R8A8Unorm, vk::ImageType::e2D,
29 vk::ImageTiling::eOptimal, vk::SampleCountFlagBits::e4>;
36 const vk::RenderPass& getVkRenderPass()
const;
38 const std::shared_ptr<DepthStencilImageAttachment> getDepthStencilAttachment()
40 return depth_stencil_attachment;
43 const std::shared_ptr<ColorAttachment> getColorAttachment()
const {
44 return color_attachment;
54 std::shared_ptr<DepthStencilImageAttachment> depth_stencil_attachment;
56 std::shared_ptr<ColorAttachment> color_attachment;
58 vk::RenderPass vk_render_pass;
Definition: RenderPass.h:21
void begin()
Begin the RenderPass.
Definition: RenderPass.cpp:140
void end()
End the RenderPass.
Definition: RenderPass.cpp:175
TODO development of this class is in progress.
Definition: Attribute.h:13