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

◆ stop()

void MayaFlux::Portal::Graphics::ShaderFoundry::stop ( )

Stop active command recording and free command buffers.

Frees all command buffers back to pool and destroys query pools. Call this BEFORE destroying pipelines/resources that command buffers reference. Does NOT destroy the command pool itself - that happens in shutdown().

Definition at line 54 of file ShaderFoundry.cpp.

55{
56 if (!s_initialized || !m_backend) {
57 return;
58 }
59
61 "Stopping ShaderFoundry - freeing command buffers...");
62
63 auto device = get_device();
64
65 device.waitIdle();
66
68
70 "ShaderFoundry stopped - command buffers freed");
71}
#define MF_INFO(comp, ctx,...)
void free_all_command_buffers()
Free all allocated command buffers.
std::shared_ptr< Core::VulkanBackend > m_backend
@ ShaderCompilation
Shader compilation tasks (Portal::Graphics::ShaderCompiler)
@ Portal
High-level user-facing API layer.

References free_all_command_buffers(), get_device(), m_backend, MF_INFO, MayaFlux::Journal::Portal, s_initialized, and MayaFlux::Journal::ShaderCompilation.

Referenced by MayaFlux::Portal::Graphics::stop().

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