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

◆ GraphicsSubsystem()

MayaFlux::Core::GraphicsSubsystem::GraphicsSubsystem ( const GlobalGraphicsConfig graphics_config)

GraphicsSubsystem constructor.

Parameters
graphics_configGlobal graphics configuration

Definition at line 28 of file GraphicsSubsystem.cpp.

29 : m_backend(create_graphics_backend(graphics_config.requested_api))
30 , m_frame_clock(std::make_shared<Vruta::FrameClock>(60))
35 }
36 , m_graphics_config(graphics_config)
37{
38}
std::shared_ptr< Vruta::FrameClock > m_frame_clock
std::unique_ptr< IGraphicsBackend > m_backend
SubsystemTokens m_subsystem_tokens
Processing token configuration.
GlobalGraphicsConfig m_graphics_config
Graphics/windowing configuration.
@ GRAPHICS_BACKEND
Standard graphics processing backend configuration.
std::unique_ptr< IGraphicsBackend > create_graphics_backend(GlobalGraphicsConfig::GraphicsApi api)
@ VISUAL_RATE
Nodes that process at the visual frame rate.
@ FRAME_ACCURATE
Coroutine is frame-accurate.
MayaFlux::Buffers::ProcessingToken Buffer
Processing token for buffer operations.