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

◆ stop()

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

Stop all Portal::Graphics operations.

Frees command buffers and stops active rendering. Call this AFTER graphics thread stops, BEFORE destroying resources.

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 "Stopping Portal::Graphics...");
77
78 ShaderFoundry::instance().stop();
79
80 RenderFlow::instance().stop();
81 ComputePress::instance().stop();
82
83 MF_INFO(Journal::Component::Portal, Journal::Context::API,
84 "Portal::Graphics stopped");
85}
#define MF_INFO(comp, ctx,...)

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

Referenced by MayaFlux::Core::GraphicsSubsystem::stop().

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