RavEngine
Loading...
Searching...
No Matches
D3D12RenderPass.hpp
1
#pragma once
2
#include <RGL/RenderPass.hpp>
3
#include <vector>
4
#include <RGL/Texture.hpp>
5
6
namespace
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
}
RGL::IRenderPass
Definition
RenderPass.hpp:29
RGL::RenderPassConfig
Definition
RenderPass.hpp:11
RGL::RenderPassD3D12
Definition
D3D12RenderPass.hpp:9
RGL::TextureView
Definition
Texture.hpp:43
RavEngine
deps
RGL
src
D3D12RenderPass.hpp
Generated by
1.9.8