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

◆ shutdown()

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

Definition at line 96 of file RenderFlow.cpp.

97{
98 if (!s_initialized) {
99 return;
100 }
101
103 "Shutting down RenderFlow...");
104
107 "Cannot shutdown RenderFlow: ShaderFoundry not initialized");
108 return;
109 }
110
112
113 if (!device) {
115 "Cannot shutdown RenderFlow: Vulkan device is null");
116 return;
117 }
118
120
121 m_window_associations.clear();
122
123 m_shader_foundry = nullptr;
124 m_display_service = nullptr;
125
126 s_initialized = false;
127
129 "RenderFlow shutdown complete");
130}
#define MF_INFO(comp, ctx,...)
#define MF_ERROR(comp, ctx,...)
vk::PhysicalDevice device
Definition VKDevice.cpp:121
std::unordered_map< std::shared_ptr< Core::Window >, WindowRenderAssociation > m_window_associations
Registry::Service::DisplayService * m_display_service
vk::Device get_device() const
Get logical device handle.
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(), device, 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: