SPARK  0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
VulkanInputAttachmentMapping.h
1#pragma once
2
3#include "spark/render/InputAttachementMapping.h"
4#include "spark/render/RenderTarget.h"
5#include "spark/render/vk/Export.h"
6
7#include <memory>
8
9namespace spark::render::vk
10{
11 class VulkanRenderPass;
12
16 class SPARK_RENDER_VK_EXPORT VulkanInputAttachmentMapping final : public InputAttachmentMapping<VulkanRenderPass>
17 {
18 public:
21
28 explicit VulkanInputAttachmentMapping(const VulkanRenderPass& render_pass, const RenderTarget& render_target, unsigned location);
30
35
37 [[nodiscard]] const VulkanRenderPass* source() const noexcept override;
38
40 [[nodiscard]] const RenderTarget& renderTarget() const noexcept override;
41
43 [[nodiscard]] unsigned location() const noexcept override;
44
45 private:
46 struct Impl;
47 std::unique_ptr<Impl> m_impl;
48 };
49}
Definition InputAttachementMapping.h:34
Implements a IRenderTarget.
Definition RenderTarget.h:201
Vulkan implementation of IInputAttachmentMapping.
Definition VulkanInputAttachmentMapping.h:17
Vulkan implementation of IRenderPass.
Definition VulkanRenderPass.h:27
Definition VulkanInputAttachmentMapping.cpp:6