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 234 of file GraphicsSubsystem.cpp.

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