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

◆ cleanup()

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

Cleanup framebuffer.

Definition at line 54 of file VKFramebuffer.cpp.

55{
56 if (m_framebuffer) {
57 device.destroyFramebuffer(m_framebuffer);
58 m_framebuffer = nullptr;
59 m_width = 0;
60 m_height = 0;
61 m_layers = 1;
62 }
63}

References m_framebuffer, m_height, m_layers, and m_width.