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

◆ shutdown()

void MayaFlux::Portal::Graphics::RenderFlow::shutdown ( )

Definition at line 94 of file RenderFlow.cpp.

95{
96 if (!s_initialized) {
97 return;
98 }
99
101 "Shutting down RenderFlow...");
102
105 "Cannot shutdown RenderFlow: ShaderFoundry not initialized");
106 return;
107 }
108
109 auto device = m_shader_foundry->get_device();
110
111 if (!device) {
113 "Cannot shutdown RenderFlow: Vulkan device is null");
114 return;
115 }
116
118
119 m_window_associations.clear();
120
121 m_shader_foundry = nullptr;
122 m_display_service = nullptr;
123
124 s_initialized = false;
125
127 "RenderFlow shutdown complete");
128}
#define MF_INFO(comp, ctx,...)
#define MF_ERROR(comp, ctx,...)
std::unordered_map< std::shared_ptr< Core::Window >, WindowRenderAssociation > m_window_associations
Registry::Service::DisplayService * m_display_service
bool is_initialized() const
Check if compiler is initialized.
@ Rendering
GPU rendering operations (graphics pipeline, frame rendering)
@ Portal
High-level user-facing API layer.

References cleanup_pipelines(), MayaFlux::Portal::Graphics::ShaderFoundry::get_device(), MayaFlux::Portal::Graphics::ShaderFoundry::is_initialized(), m_display_service, m_shader_foundry, m_window_associations, MF_ERROR, MF_INFO, MayaFlux::Journal::Portal, MayaFlux::Journal::Rendering, and s_initialized.

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

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