MayaFlux 0.3.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 {}
 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 {}
 Transparent framebuffer (compositing)
 
bool floating {}
 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 {} 
 
   bool   has_stencil {} 
 
container_format 
 Container dimensions (channels)
 
std::array< float, 4 > clear_color { { 0.0F, 0.0F, 0.0F, 1.0F } }
 

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: