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

◆ cleanup()

void MayaFlux::Core::VKContext::cleanup ( )

Cleanup all Vulkan resources.

Definition at line 121 of file VKContext.cpp.

122{
123 for (auto surface : m_surfaces) {
124 if (surface) {
125 m_instance.get_instance().destroySurfaceKHR(surface);
126 }
127 }
128 m_surfaces.clear();
129
132}
std::vector< vk::SurfaceKHR > m_surfaces
void cleanup()
Cleanup device resources.
Definition VKDevice.cpp:58
void cleanup()
Cleanup Vulkan instance.
vk::Instance get_instance() const
Get the Vulkan instance handle.

References MayaFlux::Core::VKDevice::cleanup(), MayaFlux::Core::VKInstance::cleanup(), MayaFlux::Core::VKInstance::get_instance(), m_device, m_instance, and m_surfaces.

Referenced by initialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: