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

◆ cleanup()

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

Cleanup all Vulkan resources.

Definition at line 202 of file VKContext.cpp.

203{
204 for (auto surface : m_surfaces) {
205 if (surface) {
206 m_instance.get_instance().destroySurfaceKHR(surface);
207 }
208 }
209 m_surfaces.clear();
210
213}
std::vector< vk::SurfaceKHR > m_surfaces
void cleanup()
Cleanup device resources.
Definition VKDevice.cpp:266
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: