RavEngine
Loading...
Searching...
No Matches
VkRenderPass.hpp
1#pragma once
2#include <RGL/Types.hpp>
3#include <RGL/RenderPass.hpp>
4#include "VkDevice.hpp"
5#include <RGL/Texture.hpp>
6
7namespace RGL {
8 struct TextureVk;
9
10 struct RenderPassVk : public IRenderPass {
11 RenderPassConfig config;
12
14 virtual ~RenderPassVk();
15
16 std::vector<TextureView> textures;
17
18 std::optional<TextureView> depthTexture;
19 std::optional<TextureView> stencilTexture;
20
21 void SetAttachmentTexture(uint32_t index, const TextureView& texture) final;
22 void SetDepthAttachmentTexture(const TextureView& texture) final;
23 void SetStencilAttachmentTexture(const TextureView& texture) final;
24 };
25
26}
Definition RenderPass.hpp:29
Definition RenderPass.hpp:11
Definition VkRenderPass.hpp:10
Definition Texture.hpp:43