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

◆ shutdown()

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

Shutdown Portal::Graphics subsystem.

Cleans up all managers in reverse order. Safe to call multiple times.

Definition at line 69 of file Graphics.cpp.

70{
71 if (!g_initialized) {
72 return;
73 }
74
75 MF_INFO(Journal::Component::Portal, Journal::Context::API,
76 "Shutting down Portal::Graphics...");
77
78 RenderFlow::instance().shutdown();
79 ComputePress::instance().shutdown();
80 ShaderFoundry::instance().shutdown();
81
82 SamplerForge::instance().shutdown();
83 TextureLoom::instance().shutdown();
84
85 g_initialized = false;
86
87 MF_INFO(Journal::Component::Portal, Journal::Context::API,
88 "Portal::Graphics shutdown complete");
89}
#define MF_INFO(comp, ctx,...)

References MayaFlux::Journal::API, MayaFlux::Portal::Graphics::ComputePress::instance(), MayaFlux::Portal::Graphics::RenderFlow::instance(), MayaFlux::Portal::Graphics::SamplerForge::instance(), MayaFlux::Portal::Graphics::ShaderFoundry::instance(), MayaFlux::Portal::Graphics::TextureLoom::instance(), MF_INFO, MayaFlux::Journal::Portal, MayaFlux::Portal::Graphics::ComputePress::shutdown(), MayaFlux::Portal::Graphics::RenderFlow::shutdown(), MayaFlux::Portal::Graphics::SamplerForge::shutdown(), MayaFlux::Portal::Graphics::ShaderFoundry::shutdown(), and MayaFlux::Portal::Graphics::TextureLoom::shutdown().

Referenced by MayaFlux::Portal::Graphics::SamplerForge::operator=(), MayaFlux::Core::GraphicsSubsystem::stop(), MayaFlux::Portal::Graphics::ComputePress::~ComputePress(), MayaFlux::Portal::Graphics::RenderFlow::~RenderFlow(), MayaFlux::Portal::Graphics::SamplerForge::~SamplerForge(), MayaFlux::Portal::Graphics::ShaderFoundry::~ShaderFoundry(), and MayaFlux::Portal::Graphics::TextureLoom::~TextureLoom().

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