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

◆ initialize()

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

Definition at line 11 of file ComputePress.cpp.

12{
13 if (s_initialized) {
15 "ComputePress already initialized (static flag)");
16 return true;
17 }
18
22 "Cannot initialize ComputePress: ShaderFoundry not initialized");
23 return false;
24 }
25
26 m_descriptor_manager = std::make_shared<Core::VKDescriptorManager>();
28
29 s_initialized = true;
30
32 "ComputePress initialized");
33 return true;
34}
#define MF_INFO(comp, ctx,...)
#define MF_ERROR(comp, ctx,...)
#define MF_WARN(comp, ctx,...)
std::shared_ptr< Core::VKDescriptorManager > m_descriptor_manager
bool is_initialized() const
Check if compiler is initialized.
@ GPUCompute
GPU compute operations (shaders, GPGPU tasks)
@ Portal
High-level user-facing API layer.
MAYAFLUX_API ShaderFoundry & get_shader_foundry()
Get the global shader compiler instance.

References MayaFlux::Portal::Graphics::ShaderFoundry::get_device(), MayaFlux::Portal::Graphics::get_shader_foundry(), MayaFlux::Journal::GPUCompute, MayaFlux::Portal::Graphics::ShaderFoundry::is_initialized(), m_descriptor_manager, m_shader_foundry, MF_ERROR, MF_INFO, MF_WARN, MayaFlux::Journal::Portal, and s_initialized.

+ Here is the call graph for this function: