18 #ifndef INCLUDED_RENDERER_BACKEND_VULKAN_RENDERPASSMANAGER 19 #define INCLUDED_RENDERER_BACKEND_VULKAN_RENDERPASSMANAGER 23 #include <glad/vulkan.h> 25 #include <unordered_map> 74 size_t operator()(
const Desc& desc)
const;
78 bool operator()(
const Desc& lhs,
const Desc& rhs)
const;
89 #endif // INCLUDED_RENDERER_BACKEND_VULKAN_RENDERPASSMANAGER AttachmentLoadOp
Load operation is set for each attachment, what should be done with its content on BeginFramebufferPa...
Definition: IFramebuffer.h:36
VkFormat format
Definition: RenderPassManager.h:62
Definition: RenderPassManager.h:60
std::optional< Attachment > depthStencilAttachment
Definition: RenderPassManager.h:70
AttachmentStoreOp storeOp
Definition: RenderPassManager.h:64
AttachmentStoreOp
Store operation is set for each attachment, what should be done with its content on EndFramebufferPas...
Definition: IFramebuffer.h:51
CDevice * m_Device
Definition: RenderPassManager.h:58
VkRenderPass GetOrCreateRenderPass(SColorAttachment *colorAttachment, SDepthStencilAttachment *depthStencilAttachment)
Definition: RenderPassManager.cpp:100
AttachmentLoadOp loadOp
Definition: RenderPassManager.h:63
A helper class to store unique render passes.
Definition: RenderPassManager.h:42
unsigned char uint8_t
Definition: wposix_types.h:51
std::optional< Attachment > colorAttachment
Definition: RenderPassManager.h:69
Definition: IFramebuffer.h:67
Backend
Definition: Backend.h:27
Definition: RenderPassManager.h:72
Definition: VideoMode.h:28
~CRenderPassManager()
Definition: RenderPassManager.cpp:89
Definition: RenderPassManager.h:76
CRenderPassManager(CDevice *device)
Definition: RenderPassManager.cpp:84
Definition: IFramebuffer.h:59
Definition: RenderPassManager.h:66
std::unordered_map< Desc, VkRenderPass, DescHash, DescEqual > m_RenderPassMap
Definition: RenderPassManager.h:80
uint8_t sampleCount
Definition: RenderPassManager.h:68