MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Graphics.hpp
Go to the documentation of this file.
1#pragma once
2
3namespace MayaFlux::Core {
4class VulkanBackend;
5}
6
8
9/**
10 * @brief Initialize Portal::Graphics Glue Layer
11 * @param backend Initialized Vulkan backend
12 * @return True if initialization succeeded
13 *
14 * Initializes all Portal::Graphics managers:
15 * - TextureLoom (texture management)
16 * - SamplerForge (sampler creation)
17 * - ShaderFoundry (shader compilation + resources)
18 * - ComputePress (compute pipeline + dispatch)
19 * - RenderFlow (graphics pipeline + rendering)
20 *
21 * Must be called after backend initialization (VulkanBackend::initialize()).
22 */
23MAYAFLUX_API bool initialize(const std::shared_ptr<Core::VulkanBackend>& backend);
24
25/**
26 * @brief Shutdown Portal::Graphics subsystem
27 *
28 * Cleans up all managers in reverse order.
29 * Safe to call multiple times.
30 */
31MAYAFLUX_API void shutdown();
32
33/**
34 * @brief Check if Portal::Graphics is initialized
35 */
36MAYAFLUX_API bool is_initialized();
37
38} // namespace MayaFlux::Portal::Graphics
void initialize()
Definition main.cpp:11
void shutdown()
Shutdown Portal::Graphics subsystem.
Definition Graphics.cpp:69
bool is_initialized()
Check if Portal::Graphics is initialized.
Definition Graphics.cpp:91