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

◆ shutdown()

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

Shutdown Portal::Graphics subsystem.

Destroys all pipelines, shaders, and resources. Must be called AFTER stop().

Definition at line 87 of file Graphics.cpp.

88{
89 if (!g_initialized) {
90 return;
91 }
92
93 MF_INFO(Journal::Component::Portal, Journal::Context::API,
94 "Shutting down Portal::Graphics...");
95
96 RenderFlow::instance().shutdown();
97 ComputePress::instance().shutdown();
98 ShaderFoundry::instance().shutdown();
99
100 SamplerForge::instance().shutdown();
101 TextureLoom::instance().shutdown();
102
103 g_initialized = false;
104
105 MF_INFO(Journal::Component::Portal, Journal::Context::API,
106 "Portal::Graphics shutdown complete");
107}
#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::shutdown(), 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: