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

◆ cleanup()

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

Cleanup all Vulkan resources.

Definition at line 207 of file VKContext.cpp.

208{
209 for (auto surface : m_surfaces) {
210 if (surface) {
211 m_instance.get_instance().destroySurfaceKHR(surface);
212 }
213 }
214 m_surfaces.clear();
215
218}
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: