Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
A helper class to store unique render passes. More...
#include <RenderPassManager.h>
Classes | |
struct | Attachment |
struct | Desc |
struct | DescEqual |
struct | DescHash |
Public Member Functions | |
CRenderPassManager (CDevice *device) | |
~CRenderPassManager () | |
VkRenderPass | GetOrCreateRenderPass (SColorAttachment *colorAttachment, SDepthStencilAttachment *depthStencilAttachment) |
Private Attributes | |
CDevice * | m_Device = nullptr |
std::unordered_map< Desc, VkRenderPass, DescHash, DescEqual > | m_RenderPassMap |
A helper class to store unique render passes.
Renderer::Backend::Vulkan::CRenderPassManager::CRenderPassManager | ( | CDevice * | device | ) |
Renderer::Backend::Vulkan::CRenderPassManager::~CRenderPassManager | ( | ) |
VkRenderPass Renderer::Backend::Vulkan::CRenderPassManager::GetOrCreateRenderPass | ( | SColorAttachment * | colorAttachment, |
SDepthStencilAttachment * | depthStencilAttachment | ||
) |
|
private |
|
private |