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

◆ get_global_graphics_config()

MAYAFLUX_API Core::GlobalGraphicsConfig & MayaFlux::Config::get_global_graphics_config ( )

Gets the graphics configuration from the default engine.

Returns
Copy of the GlobalGraphicsConfig struct

Definition at line 26 of file Config.cpp.

27{
29 MF_WARN(Journal::Component::API, Journal::Context::Configuration, "Accessing graphics config while engine is running may lead to inconsistent state.");
30 }
32}
#define MF_WARN(comp, ctx,...)
GlobalGraphicsConfig & get_graphics_config()
Gets the current graphics configuration.
Definition Engine.hpp:230
bool is_engine_configured()
Checks if the default engine has currently accepted all configurations and initialized all managers.
Definition Config.cpp:10
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:68

References MayaFlux::Journal::API, MayaFlux::Journal::Configuration, MayaFlux::get_context(), MayaFlux::Core::Engine::get_graphics_config(), MayaFlux::is_engine_configured(), and MF_WARN.

+ Here is the call graph for this function: