|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
System-wide configuration for visual stream processing. More...
#include <GlobalGraphicsInfo.hpp>
Collaboration diagram for MayaFlux::Core::GraphicsSurfaceInfo:Public Types | |
| enum class | ColorSpace : uint8_t { SRGB_NONLINEAR , EXTENDED_SRGB , HDR10_ST2084 , DISPLAY_P3 } |
| Default color space for window surfaces. More... | |
| enum class | PresentMode : uint8_t { IMMEDIATE , MAILBOX , FIFO , FIFO_RELAXED } |
| Frame presentation strategy. More... | |
| enum class | SurfaceFormat : uint8_t { B8G8R8A8_SRGB , R8G8B8A8_SRGB , B8G8R8A8_UNORM , R8G8B8A8_UNORM , R16G16B16A16_SFLOAT , A2B10G10R10_UNORM , R32G32B32A32_SFLOAT } |
| Default pixel format for window surfaces (Vulkan-compatible) More... | |
Public Attributes | |
| std::unordered_map< std::string, std::any > | backend_options |
| Backend-specific configuration parameters. | |
| ColorSpace | color_space = ColorSpace::SRGB_NONLINEAR |
| Default color space for new windows. | |
| bool | enable_hdr {} |
| Enable HDR output if available. | |
| bool | enable_regions = true |
| Enable region-based processing by default. | |
| SurfaceFormat | format = SurfaceFormat::B8G8R8A8_SRGB |
| Default surface format for new windows. | |
| uint32_t | image_count = 3 |
| Default number of swapchain images (double/triple buffering) | |
| uint32_t | max_regions_per_window = 256 |
| Maximum regions per window container. | |
| bool | measure_frame_time {} |
| Measure and report actual frame times. | |
| PresentMode | present_mode = PresentMode::FIFO |
| Default presentation mode for new windows. | |
System-wide configuration for visual stream processing.
Defines technical parameters for ALL windows/visual streams in the system. This is set once at subsystem initialization, similar to audio sample rate. Individual windows inherit these defaults but can override specific params.
Definition at line 109 of file GlobalGraphicsInfo.hpp.