MayaFlux 0.1.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 230 of file GraphicsSubsystem.cpp.

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