MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ cleanup()

void MayaFlux::Core::VKRenderPass::cleanup ( vk::Device  device)

Clean up the render pass resources.

Parameters
deviceThe Vulkan device to clean up the render pass on.

Definition at line 130 of file VKRenderPass.cpp.

131{
132 if (m_render_pass) {
133 device.destroyRenderPass(m_render_pass);
134 m_render_pass = nullptr;
135 m_attachments.clear();
136 }
137}
std::vector< AttachmentDescription > m_attachments

References m_attachments, and m_render_pass.