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

◆ cleanup()

void MayaFlux::Buffers::RenderProcessor::cleanup ( )
overrideprotectedvirtual

Reimplemented from MayaFlux::Buffers::ShaderProcessor.

Definition at line 423 of file RenderProcessor.cpp.

424{
425 auto& foundry = Portal::Graphics::get_shader_foundry();
427
429 flow.destroy_pipeline(m_pipeline_id);
431 }
432
434 foundry.destroy_shader(m_geometry_shader_id);
436 }
437
439 foundry.destroy_shader(m_tess_control_shader_id);
441 }
442
444 foundry.destroy_shader(m_tess_eval_shader_id);
446 }
447
449 foundry.destroy_shader(m_fragment_shader_id);
451 }
452
453 if (m_target_window) {
454 flow.unregister_window(m_target_window);
455 m_target_window.reset();
456 }
457
459
461 "RenderProcessor cleanup complete");
462}
#define MF_DEBUG(comp, ctx,...)
Portal::Graphics::ShaderID m_fragment_shader_id
Portal::Graphics::ShaderID m_geometry_shader_id
Portal::Graphics::RenderPipelineID m_pipeline_id
Portal::Graphics::ShaderID m_tess_control_shader_id
std::shared_ptr< Core::Window > m_target_window
Portal::Graphics::ShaderID m_tess_eval_shader_id
@ BufferProcessing
Buffer processing (Buffers::BufferManager, processing chains)
@ Buffers
Buffers, Managers, processors and processing chains.
constexpr RenderPipelineID INVALID_RENDER_PIPELINE
constexpr ShaderID INVALID_SHADER
MAYAFLUX_API RenderFlow & get_render_flow()
Get the global render flow instance.
MAYAFLUX_API ShaderFoundry & get_shader_foundry()
Get the global shader compiler instance.

References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Buffers::ShaderProcessor::cleanup(), MayaFlux::Portal::Graphics::get_render_flow(), MayaFlux::Portal::Graphics::get_shader_foundry(), MayaFlux::Portal::Graphics::INVALID_RENDER_PIPELINE, MayaFlux::Portal::Graphics::INVALID_SHADER, m_fragment_shader_id, m_geometry_shader_id, m_pipeline_id, m_target_window, m_tess_control_shader_id, m_tess_eval_shader_id, and MF_DEBUG.

+ Here is the call graph for this function: