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

◆ destroy_pipeline()

void MayaFlux::Portal::Graphics::ComputePress::destroy_pipeline ( ComputePipelineID  pipeline_id)

Definition at line 207 of file ComputePress.cpp.

208{
209 auto it = m_pipelines.find(pipeline_id);
210 if (it == m_pipelines.end()) {
211 return;
212 }
213
215
216 if (it->second.pipeline) {
217 it->second.pipeline->cleanup(device);
218 }
219
220 m_pipelines.erase(it);
221
223 "Destroyed compute pipeline (ID: {})", pipeline_id);
224}
#define MF_DEBUG(comp, ctx,...)
vk::PhysicalDevice device
Definition VKDevice.cpp:121
std::unordered_map< ComputePipelineID, PipelineState > m_pipelines
vk::Device get_device() const
Get logical device handle.
@ GPUCompute
GPU compute operations (shaders, GPGPU tasks)
@ Portal
High-level user-facing API layer.

References device, MayaFlux::Portal::Graphics::ShaderFoundry::get_device(), MayaFlux::Journal::GPUCompute, m_pipelines, m_shader_foundry, MF_DEBUG, and MayaFlux::Journal::Portal.

Referenced by MayaFlux::Buffers::ComputeProcessor::cleanup().

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