MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Core::WindowCreateInfo Struct Reference

Configuration for creating a single window instance. More...

#include <GlobalGraphicsInfo.hpp>

+ Collaboration diagram for MayaFlux::Core::WindowCreateInfo:

Public Attributes

std::string title = "MayaFlux Window"
 Window title/identifier.
 
uint32_t width = 1920
 Initial window dimensions.
 
uint32_t height = 1080
 
int32_t monitor_id = -1
 Target monitor ID (-1 = primary monitor)
 
bool fullscreen = false
 Start in fullscreen mode.
 
bool resizable = true
 Window can be resized by user.
 
bool decorated = true
 Show OS window decorations (title bar, borders)
 
bool transparent = false
 Transparent framebuffer (compositing)
 
bool floating = false
 Window always on top.
 
bool register_for_processing = true
 Register this window for processing (if false, no grpahics API handles visuals)
 
std::optional< GraphicsSurfaceInfo::SurfaceFormatsurface_format
 Override global surface format (nullopt = use global default)
 
std::optional< GraphicsSurfaceInfo::PresentModepresent_mode
 Override global present mode (nullopt = use global default)
 
struct { 
 
   uint32_t   color_channels = 4 
 
   bool   has_depth = false 
 
   bool   has_stencil = false 
 
container_format 
 Container dimensions (channels)
 

Detailed Description

Configuration for creating a single window instance.

Lightweight per-window parameters. Most settings inherited from GraphicsSurfaceInfo. This is like creating a new audio channel - you specify only what differs from global defaults.

Definition at line 264 of file GlobalGraphicsInfo.hpp.


The documentation for this struct was generated from the following file: