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