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

◆ initialize()

bool MayaFlux::Portal::Graphics::RenderFlow::initialize ( )

Definition at line 49 of file RenderFlow.cpp.

50{
51 if (s_initialized) {
53 "RenderFlow already initialized (static flag)");
54 return true;
55 }
56
57 if (m_shader_foundry) {
59 "RenderFlow already initialized");
60 return true;
61 }
62
66 "ShaderFoundry must be initialized before RenderFlow");
67 return false;
68 }
69
71 .get_service<Registry::Service::DisplayService>();
72
73 if (!m_display_service) {
75 "DisplayService not found in BackendRegistry");
76 return false;
77 }
78
79 s_initialized = true;
80
82 "RenderFlow initialized");
83 return true;
84}
#define MF_INFO(comp, ctx,...)
#define MF_ERROR(comp, ctx,...)
#define MF_WARN(comp, ctx,...)
Registry::Service::DisplayService * m_display_service
bool is_initialized() const
Check if compiler is initialized.
Interface * get_service()
Query for a backend service.
static BackendRegistry & instance()
Get the global registry instance.
@ Rendering
GPU rendering operations (graphics pipeline, frame rendering)
@ Portal
High-level user-facing API layer.

References MayaFlux::Registry::BackendRegistry::get_service(), MayaFlux::Portal::Graphics::ShaderFoundry::instance(), MayaFlux::Registry::BackendRegistry::instance(), MayaFlux::Portal::Graphics::ShaderFoundry::is_initialized(), m_display_service, m_shader_foundry, MF_ERROR, MF_INFO, MF_WARN, MayaFlux::Journal::Portal, MayaFlux::Journal::Rendering, and s_initialized.

+ Here is the call graph for this function: