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

◆ pause()

void MayaFlux::Core::GraphicsSubsystem::pause ( )
overridevirtual

Pause the subsystem's processing/event loops.

Implements MayaFlux::Core::ISubsystem.

Definition at line 236 of file GraphicsSubsystem.cpp.

237{
238 if (!m_running.load(std::memory_order_acquire)) {
240 "Cannot pause - graphics thread not running");
241 return;
242 }
243
244 m_paused.store(true, std::memory_order_release);
245
247 "Graphics processing paused");
248}
#define MF_INFO(comp, ctx,...)
#define MF_WARN(comp, ctx,...)
@ GraphicsSubsystem
Graphics subsystem operations (Vulkan, rendering pipeline)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsSubsystem, m_paused, m_running, MF_INFO, and MF_WARN.