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
3
namespace
MayaFlux::Core
{
4
class
VulkanBackend;
5
}
6
7
namespace
MayaFlux::Portal::Graphics
{
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
*/
23
MAYAFLUX_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
*/
31
MAYAFLUX_API
void
shutdown
();
32
33
/**
34
* @brief Check if Portal::Graphics is initialized
35
*/
36
MAYAFLUX_API
bool
is_initialized
();
37
38
}
// namespace MayaFlux::Portal::Graphics
initialize
void initialize()
Definition
main.cpp:11
MayaFlux::Core
Definition
Config.hpp:6
MayaFlux::Portal::Graphics::shutdown
void shutdown()
Shutdown Portal::Graphics subsystem.
Definition
Graphics.cpp:69
MayaFlux::Portal::Graphics::is_initialized
bool is_initialized()
Check if Portal::Graphics is initialized.
Definition
Graphics.cpp:91
MayaFlux::Portal::Graphics
Definition
ComputePress.cpp:7
src
MayaFlux
Portal
Graphics
Graphics.hpp
Generated by
1.9.8