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
7
namespace
RGL {
8
struct
TextureVk;
9
10
struct
RenderPassVk
:
public
IRenderPass
{
11
RenderPassConfig
config;
12
13
RenderPassVk
(
const
RenderPassConfig
&);
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
}
RGL::IRenderPass
Definition
RenderPass.hpp:29
RGL::RenderPassConfig
Definition
RenderPass.hpp:11
RGL::RenderPassVk
Definition
VkRenderPass.hpp:10
RGL::TextureView
Definition
Texture.hpp:43
RavEngine
deps
RGL
src
VkRenderPass.hpp
Generated by
1.9.8