MayaFlux 0.2.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 231 of file GraphicsSubsystem.cpp.

232{
233 if (!m_running.load(std::memory_order_acquire)) {
235 "Cannot pause - graphics thread not running");
236 return;
237 }
238
239 m_paused.store(true, std::memory_order_release);
240
242 "Graphics processing paused");
243}
#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.